1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ippfind.md

22 lines
909 B
Markdown
Raw Normal View History

2024-02-10 05:07:18 -03:00
# ippfind
> Find services registered with a DNS server or available through local devices.
> See also: `ipptool`, `ippeveprinter`.
> More information: <https://openprinting.github.io/cups/doc/man-ippfind.html>.
- List IPP printers registered on the network with their status:
`ippfind --ls`
- Send a specific PostScript document to every PostScript printer on the network:
`ippfind --txt-pdl application/postscript --exec ipptool -f {{path/to/document.ps}} '{}' print-job.test \;`
- Send a PostScript test document to every PostScript printer on the network:
`ippfind --txt-pdl application/postscript --exec ipptool -f onepage-letter.ps '{}' print-job.test \;`
- Send a PostScript test document to every PostScript printer on the network, whose name matches a regular expression:
`ippfind --txt-pdl application/postscript --host {{regex}} --exec ipptool -f onepage-letter.ps '{}' print-job.test \;`