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

hp-makeuri - Device URI Creation Utility

Creates device URIs for local and network connected printers for use with CUPS.

hp-makeuri [OPTIONS] [SERIAL NO.|USB ID|IP|DEVNODE]

"xxx:yyy" where xxx is the USB bus ID and yyy is the USB device ID. The ':' and all leading zeroes must be present. (Use the 'lsusb' command to obtain this information. See Note 1.)
IPv4 address "a.b.c.d" or "hostname"
"/dev/parportX", X=0,1,2,...
"serial no."

-p<port> or --port=<port> (Valid values are 1*, 2, and 3. *default)
-c or --cups
-s or --sane
-f or --fax
-l<level> or --logging=<level> <level>: none, info*, error, warn, debug (*default)
-g (same as option: -ldebug)
-h or --help

$ hp-makeuri 001:002
$ hp-makeuri 66.35.250.209
$ hp-makeuri /dev/parport0
$ hp-makeuri US123456789

1. Example using 'lsusb' to obtain USB bus ID and USB device ID (example only, the values you obtain will differ) :

$ lsusb

$ hp-makeuri 003:011

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

hp-setup

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.

5.0 Linux