hp-query(1)
β¨ hp-query β¨
okay bestie, welcome to hp-query from the User Manuals section β it's the Model Query Utility and it's lowkey the backbone of everything, iykyk π
πΈ NAME πΈ
hp-query β Model Query Utility π
π DESCRIPTION π
So basically? You point this thing at a printer model and it hands you back its static model info β¨. That's it, that's the whole vibe. It was literally designed to be called from other processes, so it's giving very much "background bestie doing the work while everyone else takes the credit" ππ
π¦ SYNOPSIS π¦
hp-query [MODE] [OPTIONS]
β MODE β
-nor--non-interactiveβ run it in non-interactive mode, aka no chatting back, just vibes and output π«Ά
π OPTIONS π
Set the logging level:
-l<level>or--logging=<level>β pick your logging level, bestie. your choices arenone,info*,error,warn,debugβ and yes the*oninfomeans that's the default π
Run in debug mode:
-gβ debug mode, go off. (same as option:-ldebug) π₯
This help information:
-hor--helpβ show this help info, no thoughts just help π
Specify model by device URI:
-d<device_uri>or--device=<device_uri>β tell it which model by handing over a device URI π
Specify normalized model name:
-m<model_name>or--model=<model_name>β give a normalized model name (that's the normalizedmodels.datformat, periodt) π
Specify raw model name:
-r<model_name>or--raw=<model_name>β give a raw model name instead (that's the raw model name from theMDL:field of the device ID, ngl very specific of it) π
Specify key to query:
-k<key>or--key=<key>β name the key you wanna query. (or, use-a/--allto return all keys) π
Query all keys:
-aor--allβ pull every key at once. (default separator is a LF) π
Specify the separator when multiple keys are queried:
-s<sep>--sep=<sep>β choose the separator for when you're querying multiple keys. it can be a character, or one of'tab','newline','cr','lf','crlf'. (only valid when used with-a/--all) π
Suppress trailing linefeed:
-xβ kill that trailing linefeed, so clean, so chic β¨
π SEE ALSO π
hp-infoπ«Ά
π AUTHOR π
HPLIP (HP Linux Imaging and Printing) is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux. iconic honestly π
π REPORTING BUGS π
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. go tell them everything bestie, they wanna hear it π«Ά
π COPYRIGHT π
Copyright (c) 2001-18 HP Development Company, L.P.
This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. SeeCOPYINGfile for more details. β οΈ like fr fr, no warranty, read theCOPYINGfile, it's right there.
and that's the whole page bestie, slay π
β¨ this came from the Linux manual set, version 0.2, and it's the hp-query(1) entry β go forth and query responsibly π¦πΈ
π¦ where this page comes from
- ubuntu noble: hplip 3.23.12+dfsg0-0ubuntu5 Β· GPL-2.0-or-later
- ubuntu noble: hplip 3.23.12+dfsg0-0ubuntu5.1 Β· GPL-2.0-or-later
- ubuntu questing: hplip 3.24.4+dfsg0-0ubuntu5
- ubuntu questing: hplip 3.24.4+dfsg0-0ubuntu5.2
- ubuntu resolute: hplip 3.24.4+dfsg0-0ubuntu8 Β· GPL-2.0-or-later
- ubuntu resolute: hplip 3.24.4+dfsg0-0ubuntu8.1 Β· GPL-2.0-or-later
- ubuntu stonking: hplip 3.24.4+dfsg0-0ubuntu10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms