178 lines
5.7 KiB
HTML
178 lines
5.7 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of hp-setup</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>hp-setup</H1>
|
|
Section: User Manuals (1)<BR>Updated: 9.0<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
hp-setup - Printer/Fax Setup Utility
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
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.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>hp-setup [MODE] [OPTIONS] [SERIAL NO.|USB bus:device|IP|DEVNODE]</B>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>MODE</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">Run in graphical UI mode:<DD>
|
|
-u or --gui (Default)
|
|
<DT id="2">Run in interactive mode:<DD>
|
|
-i or --interactive
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="3">Automatic mode:<DD>
|
|
-a or --auto (-i mode only)
|
|
<DT id="4">To specify the port on a multi-port JetDirect:<DD>
|
|
--port=<port> (Valid values are 1*, 2, and 3. *default)
|
|
<DT id="5">No testpage in automatic mode:<DD>
|
|
-x (-i mode only)
|
|
<DT id="6">To specify a CUPS printer queue name:<DD>
|
|
-p<printer> or --printer=<printer> (-i mode only)
|
|
<DT id="7">To specify a CUPS fax queue name:<DD>
|
|
-f<fax> or --fax=<fax> (-i mode only)
|
|
<DT id="8">Type of queue(s) to install:<DD>
|
|
-t<typelist> or --type=<typelist>. <typelist>: print*, fax* (*default) (-i mode only)
|
|
<DT id="9">To specify the device URI to install:<DD>
|
|
-d<device> or --device=<device> (--qt4 mode only)
|
|
<DT id="10">Remove printers or faxes instead of setting-up:<DD>
|
|
-r or --rm or --remove
|
|
<DT id="11">Set the language:<DD>
|
|
--loc=<lang> or --lang=<lang>. Use --loc=? or --lang=? to see a list of available language codes.
|
|
<DT id="12">Set the logging level:<DD>
|
|
-l<level> or --logging=<level>
|
|
<level>: none, info*, error, warn, debug (*default)
|
|
<DT id="13">Run in debug mode:<DD>
|
|
-g (same as option: -ldebug)
|
|
<DT id="14">This help information:<DD>
|
|
-h or --help
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SERIAL NO.|USB ID|IP|DEVNODE</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="15">USB bus:device (usb only):<DD>
|
|
"xxx:yyy" where 'xxx' is the USB bus and 'yyy' is the USB device. (Note: The ':' and all leading zeros must be present.)
|
|
Use the 'lsusb' command to obtain this information.
|
|
<DT id="16">IPs (network only):<DD>
|
|
IPv4 address "a.b.c.d" or "hostname"
|
|
<DT id="17">DEVNODE (parallel only):<DD>
|
|
"/dev/parportX", X=0,1,2,...
|
|
<DT id="18">SERIAL NO. (usb and parallel only):<DD>
|
|
"serial no."
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="19">Setup using GUI mode:<DD>
|
|
$ hp-setup
|
|
<DT id="20">Setup using GUI mode, specifying usb:<DD>
|
|
$ hp-setup -b usb
|
|
<DT id="21">Setup using GUI mode, specifying an IP:<DD>
|
|
$ hp-setup 192.168.0.101
|
|
<DT id="22">One USB printer attached, automatic:<DD>
|
|
$ hp-setup -i -a
|
|
<DT id="23">USB, IDs specified:<DD>
|
|
$ hp-setup -i 001:002
|
|
<DT id="24">Network:<DD>
|
|
$ hp-setup -i 66.35.250.209
|
|
<DT id="25">Network, Jetdirect port 2:<DD>
|
|
$ hp-setup -i --port=2 66.35.250.209
|
|
<DT id="26">Parallel:<DD>
|
|
$ hp-setup -i /dev/parport0
|
|
<DT id="27">USB or parallel, using serial number:<DD>
|
|
$ hp-setup -i US12345678A
|
|
<DT id="28">USB, automatic:<DD>
|
|
$ hp-setup -i --auto 001:002
|
|
<DT id="29">Parallel, automatic, no testpage:<DD>
|
|
$ hp-setup -i -a -x /dev/parport0
|
|
<DT id="30">Parallel, choose device:<DD>
|
|
$ hp-setup -i -b par
|
|
</DL>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="31">1. If no serial number, USB ID, IP, or device node is specified, the USB and parallel busses will be probed for devices.<DD>
|
|
<P>
|
|
<DT id="32">2. Using 'lsusb' to obtain USB IDs: (example)<DD>
|
|
<P>
|
|
<DT id="33"> $ lsusb<DD>
|
|
<P>
|
|
<DT id="34"> Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard<DD>
|
|
<P>
|
|
<DT id="35"> $ hp-setup --auto 003:011<DD>
|
|
<P>
|
|
<DT id="36"> (Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)<DD>
|
|
<P>
|
|
<DT id="37">3. Parameters -a, -f, -p, or -t are not valid in GUI (-u) mode.<DD>
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
hp-makeuri
|
|
hp-probe
|
|
<A NAME="lbAK"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
HPLIP (HP Linux Imaging and Printing) is an
|
|
HP developed solution for printing, scanning, and faxing with
|
|
HP inkjet and laser based printers in Linux.
|
|
<A NAME="lbAL"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
The HPLIP Launchpad.net site
|
|
<B><A HREF="https://launchpad.net/hplip">https://launchpad.net/hplip</A></B>
|
|
|
|
is available to get help, report
|
|
bugs, make suggestions, discuss the HPLIP project or otherwise
|
|
contact the HPLIP Team.
|
|
<A NAME="lbAM"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright (c) 2001-18 HP Development Company, L.P.
|
|
<P>
|
|
|
|
This software comes with ABSOLUTELY NO WARRANTY.
|
|
This is free software, and you are welcome to distribute it
|
|
under certain conditions. See COPYING file for more details.
|
|
<P>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="38"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="39"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="40"><A HREF="#lbAD">SYNOPSIS</A><DD>
|
|
<DT id="41"><A HREF="#lbAE">MODE</A><DD>
|
|
<DT id="42"><A HREF="#lbAF">OPTIONS</A><DD>
|
|
<DT id="43"><A HREF="#lbAG">SERIAL NO.|USB ID|IP|DEVNODE</A><DD>
|
|
<DT id="44"><A HREF="#lbAH">EXAMPLES</A><DD>
|
|
<DT id="45"><A HREF="#lbAI">NOTES</A><DD>
|
|
<DT id="46"><A HREF="#lbAJ">SEE ALSO</A><DD>
|
|
<DT id="47"><A HREF="#lbAK">AUTHOR</A><DD>
|
|
<DT id="48"><A HREF="#lbAL">REPORTING BUGS</A><DD>
|
|
<DT id="49"><A HREF="#lbAM">COPYRIGHT</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:17 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|