PNG  IHDR  8] PLTE S =tRNS   PNG  IHDR  8] PLTE S =tRNS   REDROOM
PHP 7.4.33
Preview: gs_cet.ps Size: 4.85 KB
/usr/share/ghostscript/Resource/Init/gs_cet.ps

% Set defaults for Ghostscript to match Adobe CPSI behaviour for CET

% skip if we've already run this -- based on fake "product"
systemdict /product get (PhotoPRINT SE 5.0v2) readonly eq
{
  (%END GS_CET) .skipeof
} if

% Note: this must be run at save level 0 and when systemdict is writeable
currentglobal //true setglobal
systemdict dup dup dup
/version (3017.102) readonly .forceput		% match CPSI 3017.102
/product (PhotoPRINT SE 5.0v2) readonly .forceput	% match CPSI 3017.102
/revision 0 put			% match CPSI 3017.103 Tek shows revision 5
/serialnumber dup {233640} readonly .makeoperator .forceput % match CPSI 3017.102 Tek shows serialnumber 1401788461

systemdict /.odef {           % <name> <proc> odef -
  1 index exch //.makeoperator def
} .bind .forceput          % this will be undefined at the end

300 .sethiresscreen	% needed for language switch build since it
                        % processes gs_init.ps BEFORE setting the resolution

0 array 0 setdash % CET 09-08 wants local setdash


/UNROLLFORMS //true def

(%.defaultbgrucrproc) cvn { } bind def

(%.defaultbgrucrproc) cvn load dup
setblackgeneration
setundercolorremoval
0 array cvx readonly dup dup dup setcolortransfer

% CPSI doesn't define "Localization" resource.
/Localization /Category undefineresource

% Quality Logic test 09-59.ps tries to set each listed /OutputDevice.
% This can cause problems with some devices (eg mswinpr2 on Windows)
% so for the CET files we define the OutputDevice resource as
% being empty. We need to redefine /.definecategory as that definition
% gets destroyed at the end of gs_res.ps
/OutputDevice /Category undefineresource

/.definecategory	% <name> -mark- <key1> ... <valuen> .definecategory -
 { counttomark 2 idiv 2 add		% .Instances, Category
   /Generic /Category findresource dup maxlength 3 -1 roll add
   dict .copydict begin
   counttomark 2 idiv { def } repeat pop	% pop the mark
   currentdict end /Category defineresource pop
 } bind def

/OutputDevice mark /InstanceType /dicttype .definecategory

% Redefine Font category to return -1 (unknown) VM usage
% in all cases to avoid differences between hosts.
/Font /Category findresource
dup length dict copy
dup
dup /.loadfontresource get
dup length array copy cvx
dup 1 0 put
dup 7 -1 put
/.loadfontresource exch put
/Font exch /Category defineresource pop

% Some previously compile time options such as USE_ADOBE_CMYK_RGB
% and GS_CHAR_FILL are now dynamic. Force CPSI compatibility.
//true .setCPSImode

% Some QL jobs (/23-12B.PS for example) do:
% '(%stdin) (r) file'
% expecting that they are being read from stdin.
% if that is not the case, they block waiting for input
% from stdin.
% This hooks the 'file' operator', so if a job tries to
% open %stdin, and we're *not* reading the job from stdin
% it'll return currentfile instead.
/ofile /file load def
/file
{
   1 index (%stdin) eq 2 index (%stdin%) eq or
   {
     ofile dup currentfile eq not
     {
       pop currentfile
     }if
   }
   {
     ofile
   } ifelse
} .bind //.odef exec
currentdict /ofile undef

% One QL job (23-12B.PS) effectively does:
% (%stdin) (r) file 0 setfileposition
% expecting it to throw an ioerror (stdin not being a positionable
% stream.
% With the above 'file' hook, when running from a file
% rather than stdin, setfileposition will succeed, and we hit
% an infinite loop - '0 setfileposition' meaning we restart intepreting
% from the beginning of the file.
% Hook setfileposition to throw an error attempting to reposition
% the current file.
/osetfileposition /setfileposition load def
/setfileposition
{
    1 index currentfile eq
    {
        /setfileposition cvx /ioerror signalerror
    }
    {
      osetfileposition
    } ifelse
} .bind //.odef exec
currentdict /osetfileposition undef

setglobal

% Remove all but the default page size (the 0 entry in the InputAttributes
% dictionary). This is usually 'letter'.
<<
% As we're removing all but the default, make sure we're
% using the default.
/PageSize currentpagedevice /InputAttributes get 0 get /PageSize get

currentpagedevice /InputAttributes get
1 1 2 index length 1 sub {
  1 index exch undef
} for
/InputAttributes exch
>>
setpagedevice

% Patch setsmoothness, currentsmoothness for a better view of shadings :
userdict /.smoothness currentsmoothness put
/setsmoothness {
   dup type dup /integertype eq exch /realtype eq or {
     userdict /.smoothness 3 2 roll cvr put
   } {
     /setsmoothness .systemvar /typecheck signalerror
   } ifelse
} bind //.odef exec
/currentsmoothness { userdict /.smoothness get } bind //.odef exec % for 09-55.PS, 09-57.PS .

% slightly nasty hack to give consistent cluster results
/ofnfa systemdict /filenameforall get def

/filenameforall
{
  2 index dup length 1 eq
  {
    (*) eq
    {
      3 -1 roll pop ( ) 3 1 roll
    } if
  }
  {
    pop
  } ifelse
  ofnfa
} bind def

systemdict /.odef .undef

% end of slightly nasty hack to give consistent cluster results
%END GS_CET

Directory Contents

Dirs: 0 × Files: 59

Name Size Perms Modified Actions
2.11 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
1.45 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
815 B lrw-r--r-- 2025-05-14 16:03:27
Edit Download
1.43 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
2.79 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
109 B lrw-r--r-- 2025-05-14 16:03:27
Edit Download
12.63 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
212.91 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
12.47 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
4.85 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
6.81 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
16.43 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
8.31 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
7.88 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
14.21 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
5.71 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
18.01 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
3.96 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
2.08 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
6.71 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
4.64 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
8.57 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
3.85 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
11.88 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
15.25 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
11.12 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
47.39 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
3.69 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
3.03 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
2.66 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
23.44 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
92.36 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
42.82 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
19.11 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
3.75 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
2.13 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
2.45 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
31.42 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
1.52 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
41.46 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
21.96 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
37.58 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
17.43 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
3.07 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
3.03 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
2.88 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
64.62 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
4.45 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
2.05 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
12.25 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
1.53 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
59.39 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
184.30 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
96.07 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
140.53 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
74.10 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
20.00 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
27.21 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download
1.73 KB lrw-r--r-- 2025-05-14 16:03:27
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
 !"#$%&'(()*+,-./00123456789 t\ wIDATx ]ys  47Y ƒ -  "  Rv  < f{Ɛ $k l L > L  ~h^ 1  [  r G t& h  l F z3O Y ! p A(_g̷ E8 )S 8 c  Kb"z ~ 5 J xAL WU <  *  5 m;W a pB h ~P J 2 3 6 ҙ .Ƹ P i  4g F R L P ΪK/D  M v (a3 k J Œ4N5* SH ` SdJ z  O J Xՠ V>u ߱ BE&L b2 ?2` tX+  c CB A$ i b C ĀMB E : /  # Dx &l =q Ty  0 \p I ( L Ǎ { e 4k ;`u^ヲ eP!( d {  )T A 8 O;Ě n >;s6 !  :Nx `[S D HU ~ q›J F} a g*D 49 / pn k h (t 8NxƐF _!r չ7 ZR R׷ q/5") Ӎ NY 0 x sZ!   o  fu  ,  K"$ ? pg  㕣=  1» {h " fh7    y  } € +7  $ y " X —ą - G P u 4 m >J 5 L =V ' ^@I p ?MS xЌ XV P ! h "C NS9B8̢ ]!K  e   zA , ӏkbY  !< XQ ٿyS| *" f { w  4@[S <  # 0 ! js [m  =,~ o "ݎ DHf Wo $ g ! Vԅ t mB /y Wf V4񺍸 c+@x?  B ~u " xUN e 0 BĂ) ~J pz! 7y6]l Ԥ@ P a< O /DHC `≻  N m"$  0ObB }{ x AO FCG D R ^ "B  { WDH  UR l@ T #  +"d T ; 0 i  D}. 7 ` ' ] w rE &S i ƕiTD EL P _ u h $ Ա FG wVD G L R Zf ' .!] J /ZR oGЍs Mr Ĥ ʬ 3 Q [3 cL ` ^ p + ( F;# B 5 '  2Y f [  ϶R0e }  E 7 6M aۮ H <& n % L] E}Up x紉, Uw' Q  Ǯշo k ވۙ 0N94 VX5 xEDE l D #֤ } C o )W :  ^ s 9  bRf iX5u ཱི 4 :[  T 1. | [E 2ؽ Iy\ : o x K G 5 ylP ' uK E ftb/i[3 .g _  [3M n G, #NwQ5~  ؚ) | n =Ц"x qg gB ` 듘 ~ x w ? ? R~  _ u. &VQ K˻   H C ( TN˄+ `C dA nB׭ D 3"Z G ê ^k H_ /- ~ " R_  .8 Z_ 6@ o  xg  uP ? 3լ @7AM!  E7^ - =V L  x  g-D0  CtmW 7  O  G _ WD0 g C  w1 r d w : a | \  *" f nֳ ^ H# f L ` Z ۽hV  }S F r0Ù Bć5r] @! NL iQ]{s^=4 d  WD  "  "   M; t" 8 5 e dL| "-*st" ) SWD ?R[S e ooF  20.D ? bo =) A i o d ģ ZҰaO @E =) i D a &ܟa CϞ y6 ,<%{^x%{f8? `iw^ ?/ M * IEND B`