LinuxCommandLibrary

ipptool

versatile testing tool for IPP printers and servers

TLDR

Get printer attributes from an IPP printer

$ ipptool -tv [ipp://printer.local/ipp/print] get-printer-attributes.test
copy
Run a test file against a printer
$ ipptool [ipp://printer.local/ipp/print] [test.ipp]
copy
Submit a print job for testing
$ ipptool -f [document.pdf] [ipp://printer.local/ipp/print] print-job.test
copy
Test with verbose output
$ ipptool -tv [ipp://printer.local/ipp/print] [test.ipp]
copy
Run conformance tests
$ ipptool -tIv [ipp://printer.local/ipp/print] ipp-everywhere.test
copy

SYNOPSIS

ipptool [-tv] [-f filename] [-d name=value] printer-uri testfile [... testfile]

DESCRIPTION

ipptool is a versatile testing tool for IPP (Internet Printing Protocol) printers and servers. It sends IPP requests based on test files and validates responses, making it essential for printer conformance testing and debugging.
Test files define IPP operations and expected responses using a simple text format. The tool comes with standard test files for common operations like getting printer attributes, submitting jobs, and IPP Everywhere conformance testing.

PARAMETERS

-t

Generate test report output
-v
Verbose mode; show all attributes
-f filename
File to use as document data for print tests
-d name=value
Define a variable for use in test files
-I
Ignore errors and continue testing
-S
Test with TLS/SSL encryption
-T seconds
Timeout for each request
-V version
IPP version to use (1.0, 1.1, 2.0, 2.1, 2.2)
--help
Display help information

CAVEATS

Requires knowledge of IPP protocol for creating custom test files. Some tests may modify printer state or produce actual printed output. The printer URI format varies by printer model and manufacturer.

HISTORY

ipptool is part of CUPS, developed by Michael Sweet. It evolved from earlier IPP testing tools to become the reference implementation for IPP conformance testing, used by printer manufacturers to validate IPP Everywhere compliance.

SEE ALSO

ippfind(1), ippeveprinter(1), lpstat(1), lp(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community