mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:42:10 +02:00
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>
This commit is contained in:
parent
c1f5337ffc
commit
887050a5eb
1 changed files with 19 additions and 0 deletions
19
pages/common/cupstestppd.md
Normal file
19
pages/common/cupstestppd.md
Normal file
|
@ -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: <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`
|
Loading…
Add table
Reference in a new issue