Usage: ippfind [options] regtype[,subtype][.domain.] ... [expression]
ippfind [options] name[.regtype[.domain.]] ... [expression]
ippfind --help
ippfind --version
Options:
-4 Connect using IPv4
-6 Connect using IPv6
-T seconds Set the browse timeout in seconds
-V version Set default IPP version
--version Show program version
Expressions:
-P number[-number] Match port to number or range
-d regex Match domain to regular expression
-h regex Match hostname to regular expression
-l List attributes
-n regex Match service name to regular expression
-N name Match service name to literal name value
-p Print URI if true
-q Quietly report match via exit code
-r True if service is remote
-s Print service name if true
-t key True if the TXT record contains the key
-u regex Match URI to regular expression
-x utility [argument ...] ;
Execute program if true
--domain regex Match domain to regular expression
--exec utility [argument ...] ;
Execute program if true
--host regex Match hostname to regular expression
--literal-name name Match service name to literal name value
--local True if service is local
--ls List attributes
--name regex Match service name to regular expression
--path regex Match resource path to regular expression
--port number[-number] Match port to number or range
--print Print URI if true
--print-name Print service name if true
--quiet Quietly report match via exit code
--remote True if service is remote
--txt key True if the TXT record contains the key
--txt-* regex Match TXT record key to regular expression
--uri regex Match URI to regular expression
Modifiers:
( expressions ) Group expressions
! expression Unary NOT of expression
--not expression Unary NOT of expression
--false Always false
--true Always true
expression expression Logical AND
expression --and expression
Logical AND
expression --or expression
Logical OR
Substitutions:
{} URI
{service_domain} Domain name
{service_hostname} Fully-qualified domain name
{service_name} Service instance name
{service_port} Port number
{service_regtype} DNS-SD registration type
{service_scheme} URI scheme
{service_uri} URI
{txt_*} Value of TXT record key
Environment Variables:
IPPFIND_SERVICE_DOMAIN Domain name
IPPFIND_SERVICE_HOSTNAME
Fully-qualified domain name
IPPFIND_SERVICE_NAME Service instance name
IPPFIND_SERVICE_PORT Port number
IPPFIND_SERVICE_REGTYPE DNS-SD registration type
IPPFIND_SERVICE_SCHEME URI scheme
IPPFIND_SERVICE_URI URI
IPPFIND_TXT_* Value of TXT record key
Options (35)
| Option | Description | Source |
|---|
-4 | Use IPv4 when listing. | help + man |
-6 | Use IPv6 when listing. | help + man |
-T seconds | Set the browse timeout in seconds | help + man |
-V version | Specifies the IPP version when listing. | help + man |
--version | Show program version. | help + man |
-P number[-number | Match port to number or range | help |
-d regex | Match domain to regular expression | help |
-h regex | Match hostname to regular expression | help |
-l | List attributes | help |
-n regex | Match service name to regular expression | help |
-N name | Match service name to literal name value | help |
-p | Print URI if true | help |
-q | Quietly report match via exit code | help |
-r | True if service is remote | help |
-s | Print service name if true | help |
-t key | True if the TXT record contains the key | help |
-u regex | Match URI to regular expression | help |
--domain regex | Match domain to regular expression | help |
--host regex | Match hostname to regular expression | help |
--literal-name name | Match service name to literal name value | help |
--local | True if service is local | help |
--ls | List attributes | help |
--name regex | Match service name to regular expression | help |
--path regex | Match resource path to regular expression | help |
--port number[-number | Match port to number or range | help |
--print | Print URI if true | help |
--print-name | Print service name if true | help |
--quiet | Quietly report match via exit code | help |
--remote | True if service is remote | help |
--txt key | True if the TXT record contains the key | help |
--uri regex | Match URI to regular expression | help |
--not expression | Unary NOT of expression | help |
--false | Always false | help |
--true | Always true | help |
--help | Show program help. (in the manual page but not in --help) | man |
Exit status (5) from the manual page
0 | the result for all processed expressions is true |
1 | the result of any processed expression is false |
2 | browsing or any query or resolution failed |
3 | an undefined option or invalid expression was specified |
4 | it ran out of memory |
Examples (2) from the manual page, untested
ippfind --ls
To show the status of all registered IPP printers on your network, run:ippfind --txt-pdl application/postscript --exec ipptool
Similarly, to send a PostScript test page to every PostScript printer, run:
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.