--- cups-1.1.23/data/testprint.ps.orig 2005-01-03 20:29:45.000000000 +0100 +++ cups-1.1.23/data/testprint.ps 2005-01-21 14:27:36.019127436 +0100 @@ -107,99 +107,99 @@ } ifelse 100 string cvs show % Convert to a string and show it... } bind def -/CUPSLOGO { % Draw the CUPS logo - % height CUPSLOGO - % Start with a big C... - /Helvetica findfont 1 index scalefont setfont - 0 setgray - 0 0 moveto - (C) show - - % Then "UNIX Printing System" much smaller... - /Helvetica-Bold findfont 1 index 9 div scalefont setfont - 0.25 mul - dup dup 2.0 mul moveto - (UNIX) show - dup dup 1.6 mul moveto - (Printing) show - dup 1.2 mul moveto - (System) show -} bind def -/ESPLOGO { % Draw the ESP logo - % height ESPLOGO - % Compute the size of the logo... - 0 0 - 2 index 1.5 mul 3 index - - % Do the "metallic" fill from 10% black to 40% black... - 1 -0.001 0 { - dup % loopval - -0.15 mul % loopval * -0.15 - 0.9 add % 0.9 - loopval * 0.15 - setgray % set gray shade - - 0 % x - 1 index neg % loopval - 1 add % 1 - loopval - 3 index % height - mul % height * (1 - loopval) - moveto % starting point - - dup % loopval - 3 index % width - mul % loopval * width - 2 index % height - lineto % Next point - - 0 % x - 2 index % height - lineto % Next point - - closepath - fill - - dup % loopval - 0.15 mul % loopval * 0.15 - 0.6 add % 0.6 + loopval * 0.15 - setgray - - dup % loopval - neg 1 add % 1 - loopval - 3 index % width - mul % (1 - loopval) * width - 0 % y - moveto % Starting point - - 2 index % width - exch % loopval - 2 index % height - mul % loopval * height - lineto % Next point - - 1 index % width - 0 % y - lineto % Next point - - closepath - fill - } for - - 0 setgray rectstroke - - /Helvetica-BoldOblique findfont 1 index 3 div scalefont setfont - dup 40 div - - dup 4 mul 1 index 25 mul moveto (E) show - dup 10 mul 1 index 15 mul moveto (S) show - dup 16 mul 1 index 5 mul moveto (P) show - - /Helvetica-BoldOblique findfont 2 index 5 div scalefont setfont - dup 14 mul 1 index 29 mul moveto (asy) show - dup 20 mul 1 index 19 mul moveto (oftware) show - dup 26 mul 1 index 9 mul moveto (roducts) show - - pop -} bind def +%/CUPSLOGO { % Draw the CUPS logo +% % height CUPSLOGO +% % Start with a big C... +% /Helvetica findfont 1 index scalefont setfont +% 0 setgray +% 0 0 moveto +% (C) show +% +% % Then "UNIX Printing System" much smaller... +% /Helvetica-Bold findfont 1 index 9 div scalefont setfont +% 0.25 mul +% dup dup 2.0 mul moveto +% (UNIX) show +% dup dup 1.6 mul moveto +% (Printing) show +% dup 1.2 mul moveto +% (System) show +%} bind def +%/ESPLOGO { % Draw the ESP logo +% % height ESPLOGO +% % Compute the size of the logo... +% 0 0 +% 2 index 1.5 mul 3 index +% +% % Do the "metallic" fill from 10% black to 40% black... +% 1 -0.001 0 { +% dup % loopval +% -0.15 mul % loopval * -0.15 +% 0.9 add % 0.9 - loopval * 0.15 +% setgray % set gray shade +% +% 0 % x +% 1 index neg % loopval +% 1 add % 1 - loopval +% 3 index % height +% mul % height * (1 - loopval) +% moveto % starting point +% +% dup % loopval +% 3 index % width +% mul % loopval * width +% 2 index % height +% lineto % Next point +% +% 0 % x +% 2 index % height +% lineto % Next point +% +% closepath +% fill +% +% dup % loopval +% 0.15 mul % loopval * 0.15 +% 0.6 add % 0.6 + loopval * 0.15 +% setgray +% +% dup % loopval +% neg 1 add % 1 - loopval +% 3 index % width +% mul % (1 - loopval) * width +% 0 % y +% moveto % Starting point +% +% 2 index % width +% exch % loopval +% 2 index % height +% mul % loopval * height +% lineto % Next point +% +% 1 index % width +% 0 % y +% lineto % Next point +% +% closepath +% fill +% } for +% +% 0 setgray rectstroke +% +% /Helvetica-BoldOblique findfont 1 index 3 div scalefont setfont +% dup 40 div +% +% dup 4 mul 1 index 25 mul moveto (E) show +% dup 10 mul 1 index 15 mul moveto (S) show +% dup 16 mul 1 index 5 mul moveto (P) show +% +% /Helvetica-BoldOblique findfont 2 index 5 div scalefont setfont +% dup 14 mul 1 index 29 mul moveto (asy) show +% dup 20 mul 1 index 19 mul moveto (oftware) show +% dup 26 mul 1 index 9 mul moveto (roducts) show +% +% pop +%} bind def %%EndResource %%EndProlog %%Page: 1 1 @@ -480,9 +480,13 @@ % Draw the copyright notice at the bottom... pageWidth 36 mul % Center of page - pageHeight 10 mul % Bottom of page + pageHeight 13 mul % Bottom of page 2 copy moveto % Position text - (Printed Using CUPS v1.1.x) CENTER % Show text centered + (Printed Using CUPS 1.1.23) CENTER % Show text centered + + pageHeight 4 mul sub % Move down... + 2 copy moveto % Position text + (and personal build CUPS version) CENTER % Show text centered pageHeight 2 mul sub % Move down... 2 copy moveto % Position text @@ -490,30 +494,30 @@ (Copyright 1993-2005 by Easy Software Products, All Rights Reserved.) CENTER pageHeight sub % Move down... 2 copy moveto % Position text - (CUPS, Easy Software Products and their logos are the trademark property of) CENTER + (NOVELL homepage: http://www.novell.com) CENTER pageHeight sub % Move down... 2 copy moveto % Position text - (Easy Software Products, 44141 Airport View Drive, Suite 204,) CENTER + (Test page derived from the CUPS test page.) CENTER pageHeight sub % Move down... 2 copy moveto % Position text - (Hollywood, Maryland, 20636, USA.) CENTER + (CUPS is a trademark property of Easy Software Products) CENTER - % Then the CUPS logo.... - gsave - pageWidth 4 mul - pageHeight 4 mul - translate - pageWidth 9 mul CUPSLOGO - grestore - - % And the ESP logo.... - gsave - pageWidth 59 mul - pageHeight 4 mul - translate - pageWidth 6 mul ESPLOGO - grestore -% Show the page... +% % Then the CUPS logo.... +% gsave +% pageWidth 4 mul +% pageHeight 4 mul +% translate +% pageWidth 9 mul CUPSLOGO +% grestore + +% % And the ESP logo.... +% gsave +% pageWidth 59 mul +% pageHeight 4 mul +% translate +% pageWidth 6 mul ESPLOGO +% grestore +%% Show the page... grestore showpage %