hp-info
Query static model info, dynamic status, and CUPS settings for HP printers
TLDR
SYNOPSIS
hp-info [DEVICE-URI|PRINTER-NAME] [MODE] [OPTIONS]
DESCRIPTION
hp-info queries an HPLIP-supported HP printer and reports static model information (model name, supported data types, plugin requirements), dynamic status (online/offline, tray and supply state), and the corresponding CUPS printer queue settings.It is mainly a diagnostic tool: point it at a printer with -p or -d to dump everything HPLIP knows about that device, which is useful when filing bug reports or scripting device discovery.
PARAMETERS
-d device-uri, --device=device-uri
Specify the target printer by CUPS device URI.-p printer, --printer=printer
Specify the target printer by CUPS queue name.-i, --interactive
Run in interactive mode, prompting to choose a device.--id
Print only the device ID string and exit (interactive mode only).-x
Allow device URIs of printers not yet installed in CUPS (interactive mode only).-l level, --logging=level
Set logging verbosity: none, info (default), error, warn, or debug.-g
Run with debug-level logging (equivalent to -l debug).-h, --help
Display help and exit.
INSTALL
CAVEATS
Part of the HPLIP package. The printer must be reachable (powered on and connected via USB or network) for dynamic status fields to populate; static model data is read from HPLIP's local models database even when the device is offline.
HISTORY
hp-info is one of the device-query utilities in HPLIP (HP Linux Imaging and Printing), HP's open-source printer/scanner driver suite for Linux.
