<!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"> <head> <link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon" /> <title>HPLIP How-Tos - Connection</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="../styles/default.css" type="text/css" /> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" /> <META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT" /> <META NAME="DESCRIPTION" CONTENT="HP Linux Imaging and Printing - HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux."> <META NAME="KEYWORDS" CONTENT="HPLIP, HP, Linux, Printing, HPIJS"> </head> <body> <div id="page"><!-- start page --> <div id="container"><!-- start main container --> <!-- start banner --> <div id="banner"> <div id="banner_graphics"> <div id="floatleft"> <img src="../images/hplogo2.png" alt="HP Logo" border="0" /> </div> <div id="floatcenter"> <a href="../index.html"> <img src="../images/hpliplogo.png" alt="HP Logo" border="0" /> </a> </div> <div id="floatright"> <img src="../images/tuxlogo2.png" alt="Tux" border="0" /> </div> </div> </div> <!-- end banner --> <div id="navbar"> <table> <tr> <td valign="top"> <div id="sidebar-a"> <ul id="sidebar-a-list"> <menu compact="compact"> <div class="menuheader"><a href="../index.html" title="">Home</a></div> </menu> <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> <li><a a href="../about.html" title="About">About HPLIP</a></li> </menu> <div class="menuheader">Setup and Installation</div> <menu compact="compact"> <li><a href="../downloads.html" title="Downloads">Download HPLIP</a></li> <li><a href="../install/index.html" title="Installation Instructions">Installation Instructions</a></li> <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> </menu> <div class="menuheader">Usage and Support</div> <menu compact="compact"> <li><a href="../mailing_lists.html" title="Mailing Lists">Support</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> </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 href="../contacts.html" title="Contacts">Contacts</a></li> </menu> </ul> </div> <!-- end sidebar --></td> </div> <td width=100%> <div id="content"><!-- start content --> <a href="../index.html">Home</a> > <a href="index.html">How-Tos</a> > Connection <hr size="1"/> <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 "HP Photosmart_series" "hp:/usb/Photosmart_series?serial=XXXXXXXXXXXXXX" direct hp:/usb/HP_Color_LaserJet_2840?serial=XXXXXXXXXXXX "HP HP_Color_LaserJet_2840" "hp:/usb/HP_Color_LaserJet_2840?serial=XXXXXXXXXXXX" direct hp:/usb/Deskjet_6980_series?serial=XXXXXXXXXXXXXX "HP Deskjet_6980_series" "hp:/usb/Deskjet_6980_series?serial=XXXXXXXXXXXXXX" direct hp:/usb/Officejet_7400_series?serial=XXXXXXXXXXXXXX "HP Officejet_7400_series" "hp:/usb/Officejet_7400_series?serial=XXXXXXXXXXXXXX" </pre> </div> <hr size="1"/> <center><small>Page last updated: Wed May 2 13:09:41 2007; HPLIP Version: 2.8.2</small></center> </div> </td></tr></table> </div> <!-- end content --> <!-- end container --> <div id="footer"><!-- start footer --> <hr size="1"/> <a href="../legal.html">Legal Notices</a> Copyright © 2003-2007, Hewlett-Packard Development Company, L.P. <a href="mailto:hplip@hp.com">Contact Site Maintainer</a><br> <a href="http://sourceforge.net/" alt="Hosted by Sourceforge.net"><img src="../images/sflogo.png" border="0"></a> </div> <!-- end footer --> </div><!-- end page --> <!-- google analytics --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1543832-1"; urchinTracker(); </script> <!-- start google analytics from hplip.marketing --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1543832-7"; urchinTracker(); </script> <!-- end google analytics --> <!-- START OF ACTIVEMETER CODE --> <script type="text/javascript" language="javascript"> var __pid=30231; var __am_invisible=1; </script> <!-- END OF ACTIVEMETER CODE --> </body> </html>