LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ippfind

discovers IPP printers and services on the local network using DNS-SD

TLDR

Find all IPP printers on the network
$ ippfind
copy
Find printers matching a name pattern
$ ippfind --name '[*HP*]'
copy
Find printers and print their URIs
$ ippfind --print
copy
Find printers and execute a command for each
$ ippfind --exec [ipptool] -t '{}' [get-printer-attributes.test] \;
copy
Search for a specific time then exit
$ ippfind -T [5]
copy
Find printers with specific capabilities
$ ippfind --txt-key '[pdl]' --txt-value '[*pdf*]'
copy

SYNOPSIS

ippfind [options] [regtype[,subtype]] [expressions]

DESCRIPTION

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.

PARAMETERS

--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
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

INSTALL

sudo apt install cups-ipp-utils
copy
sudo dnf install cups-client
copy
sudo apk add cups-client
copy
sudo zypper install cups-client
copy

CAVEATS

Requires mDNS/DNS-SD support on the network (typically provided by Avahi on Linux or mDNSResponder on macOS). Discovery may miss printers on different subnets unless mDNS reflection is configured. Results depend on printers properly advertising their capabilities.

HISTORY

Part of CUPS and the IPP tooling suite developed by Michael Sweet. Created to support the IPP Everywhere initiative for driverless printing, leveraging DNS-SD for automatic printer discovery as standardized by the PWG.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid