Linux command
ippfind 命令
网络
复制后可按需替换文件名、目录或参数。
常用示例
Find all IPP printers
ippfind
Find printers matching a name pattern
ippfind --name '[*HP*]'
Find printers and print their URIs
ippfind --print
Find printers and execute a command
ippfind --exec [ipptool] -t '{}' [get-printer-attributes.test] \;
Search for a specific time
ippfind -T [5]
Find printers with specific capabilities
ippfind --txt-key '[pdl]' --txt-value '[*pdf*]'
说明
ippfind discovers IPP (Internet Printing Protocol) printers and services on the local network using DNS-SD (Bonjour/mDNS). It can find printers, filter results by various criteria, and execute commands for each discovered printer. This tool is essential for driverless printing environments where printers are discovered automatically rather than configured manually. It supports searching by name, capabilities, and DNS-SD TXT record attributes.
参数
- --name _PATTERN_
- Match printer names against pattern (supports wildcards)
- --txt-key _KEY_
- Match DNS-SD TXT record key
- --txt-value _VALUE_
- Match DNS-SD TXT record value
- Print the URI of each found printer
- --exec _command_ \;
- Execute command for each printer ({} is replaced with URI)
- -T _seconds_
- Search for specified number of seconds then exit
- -P _number_
- Stop after finding specified number of printers
- --quiet
- Suppress output except for matched URIs
- --version
- Show version information
FAQ
What is the ippfind command used for?
ippfind discovers IPP (Internet Printing Protocol) printers and services on the local network using DNS-SD (Bonjour/mDNS). It can find printers, filter results by various criteria, and execute commands for each discovered printer. This tool is essential for driverless printing environments where printers are discovered automatically rather than configured manually. It supports searching by name, capabilities, and DNS-SD TXT record attributes.
How do I run a basic ippfind example?
Run `ippfind` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --name _PATTERN_ do in ippfind?
Match printer names against pattern (supports wildcards)