Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

24
cupstestppd Normal file
View File

@@ -0,0 +1,24 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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: <https://openprinting.github.io/cups/doc/man-cupstestppd.html>.
- 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`