[gs-cvs] rev 7099 - trunk/gs/lib

ray at ghostscript.com ray at ghostscript.com
Tue Oct 10 19:57:22 PDT 2006


Author: ray
Date: 2006-10-10 19:57:22 -0700 (Tue, 10 Oct 2006)
New Revision: 7099

Added:
   trunk/gs/lib/gs_cet.ps
Log:
Initial version of 'startup' file to configure Ghostscript to match the
Adpbe CPSI to run CET tests.


Added: trunk/gs/lib/gs_cet.ps
===================================================================
--- trunk/gs/lib/gs_cet.ps	2006-10-10 22:43:56 UTC (rev 7098)
+++ trunk/gs/lib/gs_cet.ps	2006-10-11 02:57:22 UTC (rev 7099)
@@ -0,0 +1,33 @@
+%!PS
+% Set defaults for Ghostscript to match Adobe CPSI behaviour for CET
+
+% do this in the server level so it is persistent across jobs
+true 0 startjob not {
+  (*** Warning: CET startup is not in server default) = flush
+} if
+
+300 .sethiresscreen	% needed for language switch build since it
+			% processes gs_init.ps BEFORE setting the resolution
+
+currentglobal true setglobal
+
+/version (3017.102) def			% match CPSI 3017.102
+/product (PhotoPRINT SE 5.0v2) def	% match CPSI 3017.102
+
+{ } bind dup
+setblackgeneration
+setundercolorremoval
+
+setglobal
+
+% Remove all but 'letter' page size
+<<
+currentpagedevice /InputAttributes get
+1 1 2 index length 1 sub {
+  1 index exch undef
+} for
+/InputAttributes exch
+>>
+setpagedevice
+
+false 0 startjob pop		% re-enter encapsulated mode


Property changes on: trunk/gs/lib/gs_cet.ps
___________________________________________________________________
Name: svn:executable
   + *



More information about the gs-cvs mailing list