From 887050a5ebc0f0af5ff33c77d676e158adfbbef2 Mon Sep 17 00:00:00 2001 From: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> Date: Fri, 29 Dec 2023 09:26:27 -0300 Subject: [PATCH] cupstestppd: add page (#11898) * cupstestppd: add page * cupstestppd: improve start of page * cupstestppd: add missing curly brackets * cupstestppd: denote deprecation as note Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/cupstestppd.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/cupstestppd.md diff --git a/pages/common/cupstestppd.md b/pages/common/cupstestppd.md new file mode 100644 index 000000000..e88b895e9 --- /dev/null +++ b/pages/common/cupstestppd.md @@ -0,0 +1,19 @@ +# cupstestppd + +> Test conformance of PPD files to the version 4.3 of the specification. +> Error codes (1, 2, 3 and 4, respectively): bad CLI arguments, unable to open file, unskippable format errors and non-conformance with PPD specification. +> NOTE: this command is deprecated. +> See also: `lpadmin`. +> More information: . + +- Test the conformance of one or more files in quiet mode: + +`cupstestppd -q {{path/to/file1.ppd path/to/file2.ppd ...}}` + +- Get the PPD file from `stdin`, showing detailed conformance testing results: + +`cupstestppd -v - < {{path/to/file.ppd}}` + +- Test all PPD files under the current directory, printing the names of each file that does not conform: + +`find . -name \*.ppd \! -execdir cupstestppd -q '{}' \; -print`