hp-query(1)

hp-query1

Model query utility

Usage

hp-query [MODE] [OPTIONS]

Overview

Query a printer model for static model information. Designed to be called from other processes.

Mode

Run in non-interactive mode:

-n or --non-interactive

Options

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

Specify model by device URI:

-d<device_uri> or --device=<device_uri>

Specify normalized model name:

-m<model_name> or --model=<model_name> (normalized models.dat format)

Specify raw model name:

-r<model_name> or --raw=<model_name> (raw model name from MDL: field of device ID)

Specify key to query:

-k<key> or --key=<key> (or, use -a/--all to return all keys)

Query all keys:

-a or --all (default separator is a LF)

Specify the separator when multiple keys are queried:

-s<sep> --sep=<sep> (character or 'tab', 'newline', 'cr', 'lf', 'crlf')(only valid when used with -a/--all)

Suppress trailing linefeed:

-x

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11–13

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.

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.

From hplip 3.22.10+dfsg0-8.1+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.