HP Linux Imaging and Printing

HP Linux Imaging and Printing (HPLIP)

Home > Technical Documentation > Man Pages > hp-levels

Display bar graphs of current supply levels for supported HPLIP printers.

Usage: hp-levels [PRINTER|DEVICE-URI] [OPTIONS]

[PRINTER|DEVICE-URI] (See Notes)

To specify a device-URI: -d<device-uri> or --device=<device-uri>
To specify a CUPS printer: -p<printer> or --printer=<printer>

[OPTIONS]

Bus to probe (if device not specified): -b<bus> or --bus=<bus>
  <bus>: cups*, usb*, net, bt, fw, par* (*defaults) (Note: bt and fw not supported in this release.)
Bar graph size: -s<size> or --size=<size> (default=%d)
Use colored bar graphs: -c or --color (default=False)
Bar graph character: -a<char> or --char=<char> (default is '/')
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

Notes:

  1. If device or printer is not specified, the local device bus is probed and the program enters interactive mode.
  1. If -p* is specified, the default CUPS printer will be used.

Last update: Tue Aug 1 13:42:00 2006