<!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>Printer/Fax Setup Utility</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">Technical Documentation</a> > <a href="index.html">Man Pages</a> > hp-setup <hr size="1"/> <div class="document" id="hp-setup-printer-fax-setup-utility-ver-7-0"> <h1 class="title">hp-setup: Printer/Fax Setup Utility (ver. 7.0)</h1> <p>Installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine the correct PPD file to use. Allows the printing of a testpage. Performs basic fax parameter setup.</p> <p><strong>Usage: hp-setup [MODE] [OPTIONS] [SERIAL NO.|USB bus:device|IP|DEVNODE]</strong></p> <p><strong>[MODE]</strong></p> <table border="1" class="borderless docutils"> <colgroup> <col width="51%" /> <col width="49%" /> </colgroup> <tbody valign="top"> <tr><td><em>Enter graphical UI mode:</em></td> <td>-u or --gui (Default)</td> </tr> <tr><td><em>Run in interactive mode:</em></td> <td>-i or --interactive</td> </tr> </tbody> </table> <p><strong>[OPTIONS]</strong></p> <table border="1" class="borderless docutils"> <colgroup> <col width="51%" /> <col width="49%" /> </colgroup> <tbody valign="top"> <tr><td><em>Automatic mode:</em></td> <td>-a or --auto (-i mode only)</td> </tr> <tr><td><em>To specify the port on a multi-port JetDirect:</em></td> <td>-p<port> or --port=<port> (Valid values are 1*, 2, and 3. *default)</td> </tr> <tr><td><em>No testpage in automatic mode:</em></td> <td>-x (-i mode only)</td> </tr> <tr><td><em>To specify a CUPS printer queue name:</em></td> <td>-n<printer> or --printer=<printer> (-i mode only)</td> </tr> <tr><td><em>To specify a CUPS fax queue name:</em></td> <td>-f<fax> or --fax=<fax> (-i mode only)</td> </tr> <tr><td><em>Type of queue(s) to install:</em></td> <td>-t<typelist> or --type=<typelist>. <typelist>: print*, fax* (*default) (-i mode only)</td> </tr> <tr><td><em>Bus to probe (if device not specified):</em></td> <td>-b<bus> or --bus=<bus></td> </tr> <tr><td> </td> <td><bus>: cups*, usb*, net, bt, fw, par* (*defaults) (Note: bt and fw not supported in this release.)</td> </tr> <tr><td><em>Set the language:</em></td> <td>-q <lang> or --lang=<lang>. Use -q? or --lang=? to see a list of available language codes.</td> </tr> <tr><td><em>Set the logging level:</em></td> <td>-l<level> or --logging=<level></td> </tr> <tr><td> </td> <td><level>: none, info*, error, warn, debug (*default)</td> </tr> <tr><td><em>Run in debug mode:</em></td> <td>-g (same as option: -ldebug)</td> </tr> <tr><td><em>This help information:</em></td> <td>-h or --help</td> </tr> </tbody> </table> <p><strong>[SERIAL NO.|USB ID|IP|DEVNODE]</strong></p> <table border="1" class="borderless docutils"> <colgroup> <col width="51%" /> <col width="49%" /> </colgroup> <tbody valign="top"> <tr><td><em>USB bus:device (usb only):</em></td> <td>"xxx:yyy" where 'xxx' is the USB bus and 'yyy' is the USB device. (Note: The ':' and all leading zeros must be present.)</td> </tr> <tr><td> </td> <td>Use the 'lsusb' command to obtain this information.</td> </tr> <tr><td><em>IPs (network only):</em></td> <td>IPv4 address "a.b.c.d" or "hostname"</td> </tr> <tr><td><em>DEVNODE (parallel only):</em></td> <td>"/dev/parportX", X=0,1,2,...</td> </tr> <tr><td><em>SERIAL NO. (usb and parallel only):</em></td> <td>"serial no."</td> </tr> </tbody> </table> <p><strong>Examples:</strong></p> <table border="1" class="borderless docutils"> <colgroup> <col width="51%" /> <col width="49%" /> </colgroup> <tbody valign="top"> <tr><td><em>Setup using GUI mode:</em></td> <td>$ hp-setup</td> </tr> <tr><td><em>Setup using GUI mode, specifying usb:</em></td> <td>$ hp-setup -b usb</td> </tr> <tr><td><em>Setup using GUI mode, specifying an IP:</em></td> <td>$ hp-setup 192.168.0.101</td> </tr> <tr><td><em>One USB printer attached, automatic:</em></td> <td>$ hp-setup -i -a</td> </tr> <tr><td><em>USB, IDs specified:</em></td> <td>$ hp-setup -i 001:002</td> </tr> <tr><td><em>Network:</em></td> <td>$ hp-setup -i 66.35.250.209</td> </tr> <tr><td><em>Network, Jetdirect port 2:</em></td> <td>$ hp-setup -i --port=2 66.35.250.209</td> </tr> <tr><td><em>Parallel:</em></td> <td>$ hp-setup -i /dev/parport0</td> </tr> <tr><td><em>USB or parallel, using serial number:</em></td> <td>$ hp-setup -i US12345678A</td> </tr> <tr><td><em>USB, automatic:</em></td> <td>$ hp-setup -i --auto 001:002</td> </tr> <tr><td><em>Parallel, automatic, no testpage:</em></td> <td>$ hp-setup -i -a -x /dev/parport0</td> </tr> <tr><td><em>Parallel, choose device:</em></td> <td>$ hp-setup -i -b par</td> </tr> </tbody> </table> <p><strong>Notes:</strong></p> <table border="1" class="borderless docutils"> <colgroup> <col width="51%" /> <col width="49%" /> </colgroup> <tbody valign="top"> <tr><td colspan="2"><ol class="first last arabic simple"> <li>If no serial number, USB ID, IP, or device node is specified, the USB and parallel busses will be probed for devices.</li> </ol> </td> </tr> <tr><td colspan="2"><ol class="first last arabic simple" start="2"> <li>Using 'lsusb' to obtain USB IDs: (example)</li> </ol> </td> </tr> <tr><td colspan="2">$ lsusb</td> </tr> <tr><td colspan="2">Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard</td> </tr> <tr><td colspan="2">$ hp-setup --auto 003:011</td> </tr> <tr><td colspan="2">(Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)</td> </tr> <tr><td colspan="2"><ol class="first last arabic simple" start="3"> <li>Parameters -a, -n, -f, or -t are not valid in GUI (-u) mode.</li> </ol> </td> </tr> </tbody> </table> <p><strong>See Also:</strong></p> <table border="1" class="borderless docutils"> <colgroup> <col width="51%" /> <col width="49%" /> </colgroup> <tbody valign="top"> <tr><td><a class="reference" href="makeuri.html">hp-makeuri</a></td> <td> </td> </tr> <tr><td><a class="reference" href="probe.html">hp-probe</a></td> <td> </td> </tr> </tbody> </table> </div> <hr size="1"/> <center><small>Page last updated: Fri Feb 8 18:07:18 2008; 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>