Bash Cures Cancer
Learn the UNIX/Linux command line

Home     Man Pages     SpamDefeator


cupstestppd(1)		    Easy Software Products	       cupstestppd(1)



NAME
       cupstestppd - test conformance of ppd files

SYNOPSIS
       cupstestppd  [  -q  ]  [-r]  [ -v[v] ] filename.ppd[.gz] [ ... filena-
       meN.ppd[.gz] ]
       cupstestppd [ -q ] [-r] [ -v[v] ] -

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.  The  results  of	testing	 and any other output are sent to the
       standard output.

       The first form of cupstestppd tests one or more PPD files on the	 com-
       mand-line. The second form tests the PPD file provided on the standard
       input.

       The -q option specifies that no information should be displayed.

       The -r option relaxes the PPD conformance requirements so that  common
       whitespace, control character, and formatting problems are not treated
       as hard errors.

       The -v option specifies	that  detailed	conformance  testing  results
       should be displayed rather than the concise PASS/FAIL/ERROR status.

       The  -vv	 option specifies that all information in the PPD file should
       be displayed in addition to the detailed conformance testing  results.

       The -q, -v, and -vv options are mutually exclusive.

EXIT STATUS
       cupstestppd  returns  zero on success and non-zero on error. The error
       codes are as follows:

       1
	    Bad command-line arguments or missing PPD filename.

       2
	    Unable to open or read PPD file.

       3
	    The PPD file contains format errors that cannot be skipped.

       4
	    The PPD file does not conform to the Adobe PPD specification.

EXAMPLES
       The following command will test all PPD files under the current direc-
       tory 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 '{}' \;


SEE ALSO
       CUPS Software Administrators Manual, CUPS Software Programmers Manual,
       http://localhost:631/documentation.html,	 Adobe	 PostScript   Printer
       Description File Format Specification, Version 4.3.

COPYRIGHT
       Copyright 1993-2004 by Easy Software Products, All Rights Reserved.



1 August 2003		 Common UNIX Printing System	       cupstestppd(1)


UNIX/Linux commands referenced on this page:
  1. test
  2. file
  3. more
  4. as
  5. find