cupstestppd(1)
β¨ cupstestppd β the manual page, but make it cute β¨
okay bestie, welcome to cupstestppd(1) from OpenPrinting π
this is the vibe check for your PPD files, and yes it's deprecated, we'll get to that, don't @ me yet π«Ά
πΈ NAME πΈ
cupstestppd β test conformance of ppd files (deprecated)
ngl the "(deprecated)" is right there in the name, so likeβ¦ emotionally prepare yourself π
π SYNOPSIS π
cupstestppd [ -I category ] [ -R rootdir ] [ -W category ] [ -q ] [ -r ]
[ -v[v] ] filename.ppd[.gz] [ ... filename.ppd[.gz] ]
cupstestppd [ -R rootdir ] [ -W category ] [ -q ] [ -r ] [ -v[v] ] -
so there's two whole ways to run this, and both are iconic in their own way β¨
π¦ DESCRIPTION π¦
cupstestppd tests the conformance of PPD files to the Adobe PostScript Printer Description file format specification version 4.3. it can also be used to list the supported options and available fonts in a PPD file. and the results of testing, plus literally any other output, get sent to the standard output π
the first form tests one or more PPD files straight up on the command-line. the second form tests the PPD file you hand it on standard input β yes, the - at the end is doing all the work there, main character energy fr fr π
π OPTIONS π
cupstestppd supports the following options:
-I filenameβ ignores allPCFileNamewarnings. (yes,filenameis literally the value here, it's giving "placeholder as a lifestyle") π-I filtersβ ignores all filter errors.-I profilesβ ignores all profile errors.-R rootdirβ specifies an alternate root directory for the filter, pre-filter, and other support file checks. basically "look over here instead" π-W constraintsβ report allUIConstrainterrors as warnings.-W defaultsβ except for size-related options, report all default option errors as warnings.-W filtersβ report all filter errors as warnings.-W profilesβ report all profile errors as warnings.-W sizesβ report all media size errors as warnings.-W translationsβ report all translation errors as warnings.-W allβ report all of the previous errors as warnings. the whole buffet π-W noneβ report all of the previous errors as errors. no softness, no mercy, we're back to strict mode π-qβ specifies that no information should be displayed. silence. the quiet luxury of it all π€«-rβ relaxes the PPD conformance requirements so that common whitespace, control character, and formatting problems are not treated as hard errors. it's the "girl, it's fine" flag π«Ά-vβ specifies that detailed conformance testing results should be displayed rather than the concise PASS/FAIL/ERROR status.-vvβ specifies that all information in the PPD file should be displayed in addition to the detailed conformance testing results. yes, ALL of it. we're reading the whole thing, cover to cover π
β οΈ the-q,-v, and-vvoptions are mutually exclusive. pick ONE. they cannot coexist. it's giving toxic polycule and the manpage said no π
β EXIT STATUS β
cupstestppd returns zero on success and non-zero on error. the error codes are as follows:
- Bad command-line arguments or missing PPD filename.
- Unable to open or read PPD file.
- The PPD file contains format errors that cannot be skipped.
- The PPD file does not conform to the Adobe PPD specification.
so like, 0 = slay, 1β4 = the specific flavor of not-slay π
π EXAMPLES π
the following command will test all PPD files under the current directory and print the names of each file that does not conform:
find . -name \*.ppd \! -exec cupstestppd -q '{}' \; -print
the next command tests all PPD files under the current directory and print detailed conformance testing results for the files that do not conform:
find . -name \*.ppd \! -exec cupstestppd -q '{}' \; \
-exec cupstestppd -v '{}' \;
look at that backslash line continuation, so clean, so intentional, we love a well-formatted command π§
π NOTES π
PPD files are deprecated and will no longer be supported in a future feature release of CUPS. printers that do not support IPP can be supported using applications such as ippeveprinter(1).
π¨ fr fr bestie, this is the real warning: PPDs are on their way out. if your printer doesn't speak IPP, go look at ippeveprinter(1) before it's too late π
π SEE ALSO π
lpadmin(8), CUPS Online Help (http://localhost:631/help), Adobe PostScript Printer Description File Format Specification, Version 4.3.
π COPYRIGHT π
Copyright Β© 2020-2024 by OpenPrinting.
and that's the whole page, bestie π this was CUPS, dated 2021-02-28, brought to you by OpenPrinting β thanks for reading, mwah, periodt β¨ππ
π¦ where this page comes from
- alpine 3.22: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.23: cups-doc 2.4.18-r0 Β· Apache-2.0
- alpine 3.24: cups-doc 2.4.19-r1 Β· Apache-2.0
- centos-stream 10: cups 1:2.4.10-18.el10 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- debian trixie: cups-client 2.4.10-3+deb13u1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- debian trixie: cups-client 2.4.10-3+deb13u2 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- fedora 43: cups 1:2.4.14-2.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 43: cups 1:2.4.19-3.fc43 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.16-7.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- fedora 44: cups 1:2.4.19-3.fc44 Β· Apache-2.0 WITH LLVM-exception AND BSD-3-Clause AND Zlib AND BSD-2-Clause
- nixpkgs unstable: cups 2.4.19
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: cups 2.4.19-160000.2.1 Β· Apache-2.0
- ubuntu questing: cups-client 2.4.12-0ubuntu3
- ubuntu questing: cups-client 2.4.12-0ubuntu3.10
- ubuntu resolute: cups-client 2.4.16-1ubuntu1 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu resolute: cups-client 2.4.16-1ubuntu1.3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- ubuntu stonking: cups-client 2.4.16-1ubuntu3 Β· Apache-2.0-with-GPL2-LGPL2-Exception
- Copyright Β© 2020-2024 by OpenPrinting
- Copyright Β© 2007-2019 by Apple Inc
- Copyright Β© 1997-2006 by Easy Software Products
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms