HP Linux Imaging and Printing

HP Linux Imaging and Printing (HPLIP)

Home > Technical Documentation > Man Pages > hp-testpage

Print a tespage to a printer. Prints a summary of device information and shows the printer's margins.

Usage: hp-testpage [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.)
Don't wait for printout to complete: -x
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:01 2006