Linux Commands Examples

A great documentation place for Linux commands

hp-makeuri

Device URI Creation Utility

Synopsis

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


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0

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


description

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

options

To specify the port on a multi-port JetDirect:

-p<port> or --port=<port> (Valid values are 1*, 2, and 3. *default)

Show the CUPS URI only (quiet mode):

-c or --cups

Show the SANE URI only (quiet mode):

-s or --sane

Show the HP Fax URI only (quiet mode):

-f or --fax

Set the logging level:

-l<level> or --logging=<level> <level>: none, info*, error, warn, debug (*default)

Run in debug mode:

-g (same as option: -ldebug)

This help information:

-h or --help

copyright

Copyright (c) 2001-13 Hewlett-Packard 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.

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 determine this.)

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.

serial no usb id ip devnode

USB IDs (usb only):

"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.)

IPs (network only):

IPv4 address "a.b.c.d" or "hostname"

DEVNODE (parallel only):

"/dev/parportX", X=0,1,2,...

SERIAL NO. (usb and parallel only):

"serial no."


see also

hp-setup


author

HPLIP (Hewlett-Packard Linux Imaging and Printing) is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux.

How can this site be more helpful to YOU ?


give  feedback