← 返回命令列表

Linux command

cupstestppd 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Test a PPD file

cupstestppd [file.ppd]

Test with verbose output

cupstestppd -v [file.ppd]

Test with detailed conformance and all PPD information

cupstestppd -vv [file.ppd]

Quiet mode

cupstestppd -q [file.ppd]

Test from stdin

cat [file.ppd] | cupstestppd -

Test with relaxed conformance

cupstestppd -r [file.ppd]

说明

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. It accepts filenames on the command line or reads from standard input when given a dash (-) argument. Exit code 0 indicates a valid PPD file.

参数

-v
Detailed conformance testing results.
-vv
Display all PPD information in addition to detailed conformance results.
-q
Quiet mode, only show errors.
-r
Relaxed conformance: treat common whitespace, control character, and formatting problems as non-fatal.
-W _category_
Report errors as warnings for a category: filters, profiles, sizes, translations, all, or none.
-I _category_
Ignore errors for a category: filename or filters.
-R _root_
Set alternate root directory.

FAQ

What is the cupstestppd command used for?

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. It accepts filenames on the command line or reads from standard input when given a dash (-) argument. Exit code 0 indicates a valid PPD file.

How do I run a basic cupstestppd example?

Run `cupstestppd [file.ppd]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v do in cupstestppd?

Detailed conformance testing results.