Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 9db8e0fac77d5c0f3fb04163674ce454 > files > 38

hplip-1.6.7-6.el5_6.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

 <head>
  <title>HPLIP How-Tos - Connection</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
  <!-- <link rel="stylesheet" href="../styles/style.css" type="text/css" /> -->
  <link rel="stylesheet" href="../styles/rest.css" type="text/css" /> 
  <link rel="stylesheet" href="../styles/default.css" type="text/css" /> 
       <meta name="author" content="" />
       <meta name="email" content="" />
  <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
  <META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT">
 </head>

 <body>
    <table border="0" width="100%" cellspacing="0">
        <tr>
            <td align="left" valign="top">
                <a href="../index.html"><img src="../images/hp-tux-printer.png" alt="HP Linux Imaging and Printing" align="left" border="0"/></a>
                <h1>HP Linux Imaging and Printing (HPLIP)</h1>
            </td>
        </tr>
    </table>

    <table  border="0" width="100%" cellspacing="4">
        <tr>
            <td colspan="3"><hr noshade="noshade" size="1"/></td>
        </tr>
        <tr>
        <!-- LEFT SIDE NAVIGATION -->
            <td  valign="top" class="navleft" width="5%"> <!-- nowrap="nowrap" -->
                <div class="menuheader">About</div> 
                <menu compact="compact">
                    <li><a href="../features.html" title="">Features</a></li> 
                    <li><a href="../screenshots.html" title="">Screenshots</a></li> 
                    <li><a href="../faqs.html" title="FAQs">FAQs</a></li> 
                </menu>

                <div class="menuheader">Setup and Installation</div> 
                <menu compact="compact">
                    <li><a href="../system_requirements.html" title="System Requirements">System Requirements</a></li> 
                    <li><a href="../supported_devices/index.html" title="Supported Devices">Supported Devices</a></li> 
                    <li><a href="http://sourceforge.net/project/showfiles.php?group_id=149981" title="Downloads">Downloads</a></li> 
                    <li><a href="../install/index.html" title="Installation Instructions">Installation Instructions</a></li> 
                </menu>

                <div class="menuheader">Usage and Support</div> 
                <menu compact="compact">
                    <li><a href="../mailing_lists.html" title="Mailing Lists">Mailing Lists</a></li>
                    <li><a href="../howtos/index.html" title="How-Tos">How-Tos</a></li> 
                    <li><a href="../troubleshooting/index.html" title="Troubleshooting">Troubleshooting</a></li>
                    <li><a href="../release_notes.html" title="Release Notes">Release Notes</a></li>
                    <!-- <li><a href="" title="Software Patches">Software Patches</a></li> -->
                </menu>

                <div class="menuheader">Resources</div>
                <menu compact="compact">
                    <li><a href="../tech_docs/index.html" title="">Technical Documentation</a></li> 
                    <li><a href="http://sourceforge.net/projects/hplip/" title="Our project page on Sourceforge.net">Sourceforge Project Page</a></li> 
                    <li><a href="../license.html" title="Software License">Software License</a></li>
                    <li><a a href="../other_support.html" title="Other Support Information">Other Support Information</a></li>
                    <li><a a href="../about.html" title="About">About HPLIP</a></li>
                    <li><a href="../contacts.html" title="Contacts">Contacts</a></li>
                </menu>
            </td>

        <!-- CONTENT -->

        <a href="../index.html">Home</a> > <a href="index.html">How-Tos</a> > Connection

        <td align="left" valign="top" class="content">
        <div class="document" id="connection-how-tos">
<h1 class="title">Connection How-Tos</h1>
<p><strong>How to check if the printer is connected to the computer.</strong></p>
<ol class="arabic simple">
<li>Unplug the printer from your computer, open a terminal/console window and enter this command. This will display the syslog.</li>
</ol>
<pre class="literal-block">
tail -f /var/log/messages
</pre>
<p>for Ubuntu:</p>
<pre class="literal-block">
sudo tail -f /var/log/syslog
</pre>
<p>then reconnect the printer.  You should see the system display something like:</p>
<pre class="literal-block">
Mar 16 11:45:43 localhost kernel: [4298892.030000] hub 2-1.2:1.0: USB hub found
Mar 16 11:45:43 localhost kernel: [4298892.033000] hub 2-1.2:1.0: 4 ports detected
Mar 16 11:45:44 localhost kernel: [4298892.316000] usb 2-1.3: new full speed USB device using uhci_hcd and address 11
Mar 16 11:45:44 localhost kernel: [4298892.409000] hub 2-1.3:1.0: USB hub found
Mar 16 11:45:44 localhost kernel: [4298892.412000] hub 2-1.3:1.0: 4 ports detected
Mar 16 11:45:44 localhost kernel: [4298892.697000] usb 2-1.2.1: new full speed USB device using uhci_hcd and address 12
Mar 16 11:45:44 localhost kernel: [4298892.798000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 12 if 1 alt 0 proto 2 vid 0x03F0 pid 0x4311
Mar 16 11:45:44 localhost kernel: [4298892.798000] scsi6 : SCSI emulation for USB Mass Storage devices
Mar 16 11:45:44 localhost kernel: [4298892.975000] usb 2-1.2.2: new full speed USB device using uhci_hcd and address 13
Mar 16 11:45:44 localhost kernel: [4298893.063000] usb 2-1.2.2: not running at top speed; connect to a high speed hub
Mar 16 11:45:45 localhost kernel: [4298893.077000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 13 if 0 alt 0 proto 2 vid 0x03F0 pid 0x8804
Mar 16 11:45:45 localhost kernel: [4298893.255000] usb 2-1.3.1: new full speed USB device using uhci_hcd and address 14
Mar 16 11:45:45 localhost kernel: [4298893.342000] usb 2-1.3.1: not running at top speed; connect to a high speed hub
Mar 16 11:45:45 localhost kernel: [4298893.356000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 14 if 0 alt 1 proto 2 vid 0x03F0 pid 0x2817
Mar 16 11:45:45 localhost kernel: [4298893.360000] scsi7 : SCSI emulation for USB Mass Storage devices
Mar 16 11:45:45 localhost kernel: [4298893.539000] usb 2-1.3.3: new full speed USB device using uhci_hcd and address 15
Mar 16 11:45:45 localhost kernel: [4298893.624000] usb 2-1.3.3: not running at top speed; connect to a high speed hub
Mar 16 11:45:45 localhost kernel: [4298893.638000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 15 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5711
Mar 16 11:45:45 localhost kernel: [4298893.638000] scsi8 : SCSI emulation for USB Mass Storage devices
</pre>
<p>Then enter this command:</p>
<pre class="literal-block">
dmesg
</pre>
<p>You should see something like this displayed:</p>
<pre class="literal-block">
[4298893.638000] scsi8 : SCSI emulation for USB Mass Storage devices
[4298893.638000] usb-storage: device found at 15
[4298893.638000] usb-storage: waiting for device to settle before scanning
[4298897.802000]   Vendor: HP        Model: Officejet 74xx S  Rev: 1.00
[4298897.802000]   Type:   Direct-Access                      ANSI SCSI revision: 02
[4298897.816000] sd 6:0:0:0: Attached scsi removable disk sdb
[4298897.816000] sd 6:0:0:0: Attached scsi generic sg1 type 0
[4298897.817000] usb-storage: device scan complete
[4298898.366000]   Vendor: HP        Model: LaserJet 2840     Rev: 1.00
[4298898.366000]   Type:   Direct-Access                      ANSI SCSI revision: 02
[4298898.381000] sd 7:0:0:0: Attached scsi removable disk sdc
[4298898.381000] sd 7:0:0:0: Attached scsi generic sg2 type 0
[4298898.384000] usb-storage: device scan complete
[4298898.642000]   Vendor: HP        Model: Photosmart        Rev: 1.00
[4298898.642000]   Type:   Direct-Access                      ANSI SCSI revision: 02
[4298898.657000] sd 8:0:0:0: Attached scsi removable disk sdd
[4298898.657000] sd 8:0:0:0: Attached scsi generic sg3 type 0
[4298898.660000] usb-storage: device scan complete
</pre>
<p>enter this command:</p>
<pre class="literal-block">
/usr/lib/cups/backend/hp
</pre>
<p>You should see something like this displayed:</p>
<pre class="literal-block">
direct hp:/usb/Photosmart_series?serial=XXXXXXXXXXXXXX &quot;HP Photosmart_series&quot; &quot;hp:/usb/Photosmart_series?serial=XXXXXXXXXXXXXX&quot;
direct hp:/usb/HP_Color_LaserJet_2840?serial=XXXXXXXXXXXX &quot;HP HP_Color_LaserJet_2840&quot; &quot;hp:/usb/HP_Color_LaserJet_2840?serial=XXXXXXXXXXXX&quot;
direct hp:/usb/Deskjet_6980_series?serial=XXXXXXXXXXXXXX &quot;HP Deskjet_6980_series&quot; &quot;hp:/usb/Deskjet_6980_series?serial=XXXXXXXXXXXXXX&quot;
direct hp:/usb/Officejet_7400_series?serial=XXXXXXXXXXXXXX &quot;HP Officejet_7400_series&quot; &quot;hp:/usb/Officejet_7400_series?serial=XXXXXXXXXXXXXX&quot;
</pre>
<p>These are several ways to confirm that the printer is connected and working with your system.</p>
</div>


        <hr size="1"/>
        <small>Last update: Thu Mar 16 17:21:04 2006</small>

        <!-- FOOTER -->
    </table>
    <table border="0" width="100%" cellspacing="0">
        <tr>
            <td colspan="3"><hr noshade="noshade" size="1"/></td>
        </tr>
        <!-- <tr><td colspan="3" class="footer"></td> -->
        <tr>
            <td class="footer"><a href="../legal.html">Legal Notices</a></td>
            <td class="footer">Copyright &#169; 2003-2006, Hewlett-Packard Development Company, L.P.</td>
            <td class="footer"><a href="mailto:hplip@hp.com">Contact Site Maintainer</a></td>
        </tr>
        <tr>
            <td colspan="3" class="footer"><a href="http://sourceforge.net/" alt="Hosted by Sourceforge.net"><img src="../images/sflogo.png" border="0"></a></td>
        </tr>
    
    </table>
</body>

</html>