hp-makeuri --version (return code: 1)
Creates device URIs for local and network connected printers for use with CUPS.
[01mUsage: hp-makeuri [OPTIONS] [SERIAL NO.|USB ID|IP|DEVNODE][0m
[01m[SERIAL NO.|USB ID|IP|DEVNODE][0m
USB IDs (usb "xxx:yyy" where xxx is the USB bus ID and yyy is the
only): USB device ID. The ':' and all leading zeroes must be
present.
(Use the 'lsusb' command to obtain this information.
See Note 1.)
IPs (network IPv4 address "a.b.c.d" or "hostname"
only):
DEVNODE (parallel "/dev/parportX", X=0,1,2,...
only):
SERIAL NO. (usb "serial no."
and parallel
only):
[01m[OPTIONS][0m
To specify the -p<port> or --port=<port> (Valid values are 1*, 2, and
port on a 3. *default)
multi-port
JetDirect:
Show the CUPS URI -c or --cups
only (quiet mode):
Show the SANE URI -s or --sane
only (quiet mode):
Show the HP Fax -f or --fax
URI only (quiet
mode):
Set the logging -l<level> or --logging=<level>
level:
<level>: none, info*, error, warn, debug (*default)
Run in debug mode: -g (same as option: -ldebug)
This help -h or --help
information:
[01mExamples:[0m
USB: $ hp-makeuri 001:002
Network: $ hp-makeuri 66.35.250.209
Parallel: $ hp-makeuri /dev/parport0
USB or parallel $ hp-makeuri US123456789
(using serial
number):
[01mNotes:[0m
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.)
[01mSee Also:[0m
hp-setup
hp-makeuri --help (return code: 0)
Creates device URIs for local and network connected printers for use with CUPS.
[01mUsage: hp-makeuri [OPTIONS] [SERIAL NO.|USB ID|IP|DEVNODE][0m
[01m[SERIAL NO.|USB ID|IP|DEVNODE][0m
USB IDs (usb "xxx:yyy" where xxx is the USB bus ID and yyy is the
only): USB device ID. The ':' and all leading zeroes must be
present.
(Use the 'lsusb' command to obtain this information.
See Note 1.)
IPs (network IPv4 address "a.b.c.d" or "hostname"
only):
DEVNODE (parallel "/dev/parportX", X=0,1,2,...
only):
SERIAL NO. (usb "serial no."
and parallel
only):
[01m[OPTIONS][0m
To specify the -p<port> or --port=<port> (Valid values are 1*, 2, and
port on a 3. *default)
multi-port
JetDirect:
Show the CUPS URI -c or --cups
only (quiet mode):
Show the SANE URI -s or --sane
only (quiet mode):
Show the HP Fax -f or --fax
URI only (quiet
mode):
Set the logging -l<level> or --logging=<level>
level:
<level>: none, info*, error, warn, debug (*default)
Run in debug mode: -g (same as option: -ldebug)
This help -h or --help
information:
[01mExamples:[0m
USB: $ hp-makeuri 001:002
Network: $ hp-makeuri 66.35.250.209
Parallel: $ hp-makeuri /dev/parport0
USB or parallel $ hp-makeuri US123456789
(using serial
number):
[01mNotes:[0m
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.)
[01mSee Also:[0m
hp-setup