hp-query --version (return code: 1)
Query a printer model for static model information. Designed to be called from other processes.
[01mUsage: hp-query [MODE] [OPTIONS][0m
[01m[MODE][0m
Run in -n or --non-interactive
non-interactive
mode:
[01m[OPTIONS][0m
Set the logging -l<level> or --logging=<level>
level:
<level>: none, info*, error, warn, debug (*default)
Run in debug mode: -g (same as option: -ldebug)
This help -h or --help
information:
Specify model by -d<device_uri> or --device=<device_uri>
device URI:
Specify normalized -m<model_name> or --model=<model_name> (normalized
model name: models.dat format)
Specify raw model -r<model_name> or --raw=<model_name> (raw model name
name: from MDL: field of device ID)
Specify key to -k<key> or --key=<key> (or, use -a/--all to return all
query: keys)
Query all keys: -a or --all (default separator is a LF)
Specify the -s<sep> --sep=<sep> (character or 'tab', 'newline',
separator when 'cr', 'lf', 'crlf')(only valid when used with
multiple keys are -a/--all)
queried:
Suppress trailing -x
linefeed:
[01mSee Also:[0m
hp-info
hp-query --help (return code: 0)
Query a printer model for static model information. Designed to be called from other processes.
[01mUsage: hp-query [MODE] [OPTIONS][0m
[01m[MODE][0m
Run in -n or --non-interactive
non-interactive
mode:
[01m[OPTIONS][0m
Set the logging -l<level> or --logging=<level>
level:
<level>: none, info*, error, warn, debug (*default)
Run in debug mode: -g (same as option: -ldebug)
This help -h or --help
information:
Specify model by -d<device_uri> or --device=<device_uri>
device URI:
Specify normalized -m<model_name> or --model=<model_name> (normalized
model name: models.dat format)
Specify raw model -r<model_name> or --raw=<model_name> (raw model name
name: from MDL: field of device ID)
Specify key to -k<key> or --key=<key> (or, use -a/--all to return all
query: keys)
Query all keys: -a or --all (default separator is a LF)
Specify the -s<sep> --sep=<sep> (character or 'tab', 'newline',
separator when 'cr', 'lf', 'crlf')(only valid when used with
multiple keys are -a/--all)
queried:
Suppress trailing -x
linefeed:
[01mSee Also:[0m
hp-info