hp-makeuri(1)
β¨ hp-makeuri(1) β¨ β the manual page, but make it make sense π
okay bestie, welcome to hp-makeuri, a lil utility from the User Manuals collection that is genuinely so underrated. it does one thing and it does it well. let's get into it π«Ά
πΈ NAME πΈ
hp-makeuri β Device URI Creation Utility. that's it. that's the whole job. it makes URIs. slay.
π DESCRIPTION π
It creates device URIs for printers that are hooked up locally and for printers chillin' on the network, so you can use them with CUPS. that's the vibe. one job, done correctly, no notes.
π SYNOPSIS π
hp-makeuri [OPTIONS] [SERIAL NO.|USB ID|IP|DEVNODE]
like, you give it something that identifies your printer, and it hands you back a URI. iconic behaviour honestly.
π¦ SERIAL NO.|USB ID|IP|DEVNODE π¦
so this is the part where you tell it which printer you mean. there's a few flavours, and which one you use depends on how the printer is connected:
π USB IDs (usb only)
format is "xxx:yyy" where xxx is the USB bus ID and yyy is the USB device ID.
β οΈ the : and all the leading zeroes must be present. do not skip them. do not get cute with it. the zeroes stay.
(you can get this info with the lsusb command β peep Note 1 below π)
π IPs (network only)
either an IPv4 address "a.b.c.d" or a "hostname". simple. elegant.
π DEVNODE (parallel only)
"/dev/parportX", where X=0,1,2,... β yes, counting forever, as many parallel ports as your heart desires.
π SERIAL NO. (usb and parallel only)
just "serial no." β the printer's serial number. that's the whole thing.
β¨ OPTIONS β¨
okay here's the menu, bestie. pick your fighters:
-p<port>or--port=<port>β use this to specify the port on a multi-port JetDirect. valid values are1*,2, and3. the*means1is the default π-cor--cupsβ show the CUPS URI only (quiet mode)-sor--saneβ show the SANE URI only (quiet mode)-for--faxβ show the HP Fax URI only (quiet mode)-l<level>or--logging=<level>β set the logging level. your choices arenone,info*,error,warn,debug. the*meansinfois the default-gβ run in debug mode. it's literally the same as option-ldebug, just shorter and cooler-hor--helpβ prints this help information, for when you're lost (we've all been there π₯Ί)
π EXAMPLES π
here's how it actually looks in the wild:
USB:
$ hp-makeuri 001:002
Network:
$ hp-makeuri 66.35.250.209
Parallel:
$ hp-makeuri /dev/parport0
USB or parallel (using serial number):
$ hp-makeuri US123456789
see? easy. ate. π₯
β NOTES β
1. Example using lsusb to obtain USB bus ID and USB device ID (example only β the values you obtain will differ):
$ lsusb
Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard
$ hp-makeuri 003:011
(Note: you may have to run lsusb from /sbin or another location. use $ locate lsusb to figure out where it's hiding π΅οΈ)
π SEE ALSO π
hp-setup β go check it out, they're friends
π«Ά AUTHOR π«Ά
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. periodt.
π REPORTING BUGS π
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. they're nice, go say hi π
π COPYRIGHT π
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.
and that's the whole page, bestie π this was hp-makeuri(1) from the Linux manual collection, version 5.0, dated 5.0 β ok go make some URIs, you're gonna do great πβ¨
π¦ where this page comes from
- ubuntu noble: hplip 3.23.12+dfsg0-0ubuntu5 Β· GPL-2.0-or-later
- ubuntu noble: hplip 3.23.12+dfsg0-0ubuntu5.1 Β· GPL-2.0-or-later
- ubuntu questing: hplip 3.24.4+dfsg0-0ubuntu5
- ubuntu questing: hplip 3.24.4+dfsg0-0ubuntu5.2
- ubuntu resolute: hplip 3.24.4+dfsg0-0ubuntu8 Β· GPL-2.0-or-later
- ubuntu resolute: hplip 3.24.4+dfsg0-0ubuntu8.1 Β· GPL-2.0-or-later
- ubuntu stonking: hplip 3.24.4+dfsg0-0ubuntu10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms