hp-query – Model Query Utility
Query a printer model for static model information. Designed to be
called from other processes.
hp-query [MODE] [OPTIONS]
Run in non-interactive mode:
-n or –non-interactive
Set the logging level:
warn, debug (*default)
Run in debug mode:
-g (same as option: -ldebug)
This help information:
-h or –help
Specify model by device URI:
Specify normalized model name:
Specify raw model name:
field of device ID)
Specify key to query:
Query all keys:
-a or –all (default separator is a LF)
Specify the separator when multiple keys are queried:
‘crlf’)(only valid when used with -a/–all)
Suppress trailing linefeed:
HPLIP (HP Linux Imaging and Printing) is an HP developed solution for
printing, scanning, and faxing with HP inkjet and laser based printers
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.
Copyright (c) 2001-15 HP Development Company, L.P.
This software comes with ABSOLUTELY NO WARRANTY. This is free soft‐
ware, and you are welcome to distribute it under certain conditions.
See COPYING file for more details.
Linux 0.2 hp-query