DOKK / manpages / debian 12 / hplip / hp-setup.1.en
hp-setup(1) User Manuals hp-setup(1)

hp-setup - Printer/Fax Setup Utility

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.

hp-setup [MODE] [OPTIONS] [SERIAL NO.|USB bus:device|IP|DEVNODE]

-u or --gui (Default)
-i or --interactive

-a or --auto (-i mode only)
--port=<port> (Valid values are 1*, 2, and 3. *default)
-x (-i mode only)
-p<printer> or --printer=<printer> (-i mode only)
-f<fax> or --fax=<fax> (-i mode only)
-t<typelist> or --type=<typelist>. <typelist>: print*, fax* (*default) (-i mode only)
-d<device> or --device=<device> (--qt4 mode only)
-r or --rm or --remove
--loc=<lang> or --lang=<lang>. Use --loc=? or --lang=? to see a list of available language codes.
-l<level> or --logging=<level> <level>: none, info*, error, warn, debug (*default)
-g (same as option: -ldebug)
-h or --help

"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.
IPv4 address "a.b.c.d" or "hostname"
"/dev/parportX", X=0,1,2,...
"serial no."

$ hp-setup
$ hp-setup -b usb
$ hp-setup 192.168.0.101
$ hp-setup -i -a
$ hp-setup -i 001:002
$ hp-setup -i 66.35.250.209
$ hp-setup -i --port=2 66.35.250.209
$ hp-setup -i /dev/parport0
$ hp-setup -i US12345678A
$ hp-setup -i --auto 001:002
$ hp-setup -i -a -x /dev/parport0
$ hp-setup -i -b par

1. If no serial number, USB ID, IP, or device node is specified, the USB and parallel busses will be probed for devices.

2. Using 'lsusb' to obtain USB IDs: (example)

$ lsusb

$ hp-setup --auto 003:011

(Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb' to determine this.)

3. Parameters -a, -f, -p, or -t are not valid in GUI (-u) mode.

hp-makeuri hp-probe

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.

The HPLIP Launchpad.net site https://launchpad.net/hplip is available to get help, report bugs, make suggestions, discuss the HPLIP project or otherwise contact the HPLIP Team.

Copyright (c) 2001-18 HP Development Company, L.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.

9.0 Linux