1cupstestdsc(1) Apple Inc. cupstestdsc(1)
2
3
4
6 cupstestdsc - test conformance of postscript files
7
9 cupstestdsc [ -h ] filename.ps [ ... filenameN.ps ]
10 cupstestdsc [ -h ] -
11
13 cupstestdsc tests the conformance of PostScript files to the Adobe
14 PostScript Language Document Structuring Conventions Specification ver‐
15 sion 3.0. The results of testing and any other output are sent to the
16 standard output. The second form of the command reads PostScript from
17 the standard input.
18
20 cupstestdsc only validates the DSC comments in a PostScript file and
21 does not attempt to validate the PostScript code itself. Developers
22 must ensure that the PostScript they generate follows the rules defined
23 by Adobe. Specifically, all pages must be independent of each other,
24 code outside page descriptions may not affect the graphics state (cur‐
25 rent font, color, transform matrix, etc.), and device-specific commands
26 such as setpagedevice should not be used.
27
29 http://localhost:631/help
30 Adobe PostScript Language Document Structuring Conventions Specifica‐
31 tion, Version 3.0.
32
34 Copyright 2007-2009 by Apple Inc.
35
36
37
3820 March 2006 CUPS cupstestdsc(1)