X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=data%2Fconfidential;h=9e4d9eadb2713196a6152dd9d0ee7b9b1dbfb749;hp=27d29fbcc5605acbb69e8a68b052b1894af70a46;hb=bc44d92092094935265183305a38196ce2822756;hpb=09a101d671d39312a756c325d8463a1a02f582a6 diff --git a/data/confidential b/data/confidential index 27d29fbcc..9e4d9eadb 100644 --- a/data/confidential +++ b/data/confidential @@ -5,32 +5,22 @@ %%DocumentData: Clean7Bit %%DocumentSuppliedResources: procset bannerprint/1.0 %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman -%%Creator: Michael Sweet, Easy Software Products -%%CreationDate: May 10, 2000 +%%Creator: Michael Sweet, Apple Inc. +%%CreationDate: D:20070620123000+0700 %%Title: Test Page %%EndComments %%BeginProlog -%%BeginResource procset bannerprint 1.1 0 +%%BeginResource procset bannerprint 1.3 0 % % PostScript banner page for the Common UNIX Printing System ("CUPS"). % +% Copyright 2007 Apple Inc. % Copyright 1993-2005 Easy Software Products % % These coded instructions, statements, and computer programs are the -% property of Easy Software Products and are protected by Federal -% copyright law. Distribution and use rights are outlined in the file -% "LICENSE.txt" which should have been included with this file. If this -% file is missing or damaged please contact Easy Software Products -% at: -% -% Attn: CUPS Licensing Information -% Easy Software Products -% 44141 Airport View Drive, Suite 204 -% Hollywood, Maryland 20636 USA -% -% Voice: (301) 373-9600 -% EMail: cups-info@cups.org -% WWW: http://www.cups.org +% property of Apple Inc. and are protected by Federal copyright law. +% Distribution and use rights are outlined in the file "LICENSE.txt" +% which is included with the CUPS source distribution. % /CENTER { % Draw centered text % (name) CENTER - @@ -53,99 +43,6 @@ } 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 %%EndResource %%EndProlog %%Page: 1 1 @@ -186,7 +83,7 @@ gsave pageWidth 36 mul % Center of page pageHeight 72 mul % Top of page - pageWidth -7 mul add % - 2 lines + pageWidth 9 mul sub % - 3 lines moveto % Position text bigFont setfont % Font (Confidential) CENTER % Show text centered @@ -219,59 +116,44 @@ gsave pageWidth 36 mul % x = pageWidth * 1/2 * 72 pageHeight 36 mul % y = pageHeight * 1/2 * 72 - pageHeight 5 mul add % y += 2 lines + pageHeight 5 mul add % y += 3.333 lines 2 copy % Copy X & Y moveto (Job ID: ) RIGHT + 2 copy % Copy X & Y moveto ({printer-name}-{job-id}) show - pageWidth 36 mul % x = pageWidth * 1/2 * 72 - pageHeight 36 mul % y = pageHeight * 1/2 * 72 - pageHeight 2 mul add % y += 1 line + pageHeight 3 mul sub % y -= 2 lines 2 copy % Copy X & Y moveto (Title: ) RIGHT + 2 copy % Copy X & Y moveto ({job-name}) show - pageWidth 36 mul % x = pageWidth * 1/2 * 72 - pageHeight 36 mul % y = pageHeight * 1/2 * 72 - pageHeight -1 mul add % y -= 1 line + pageHeight 3 mul sub % y -= 2 lines 2 copy % Copy X & Y moveto (Requesting User: ) RIGHT - moveto - ({job-originating-user-name}) show - - pageWidth 36 mul % x = pageWidth * 1/2 * 72 - pageHeight 36 mul % y = pageHeight * 1/2 * 72 - pageHeight -4 mul add % y -= 2 lines 2 copy % Copy X & Y moveto - (Billing Info: ) RIGHT - moveto - ({job-billing}) show + ({job-originating-user-name}) show - % Then the CUPS logo.... - gsave - pageWidth 4 mul - pageWidth 6 mul - translate - pageWidth 9 mul CUPSLOGO - grestore + ({?job-billing}) () ne { + pageHeight 3 mul sub % y -= 2 lines + 2 copy % Copy X & Y + moveto + (Billing Info: ) RIGHT + 2 copy % Copy X & Y + moveto + ({job-billing}) show + } if - % And the ESP logo.... - gsave - pageWidth 59 mul - pageWidth 6 mul - translate - pageWidth 6 mul ESPLOGO - grestore % Show the page... grestore showpage % -% End of "$Id: confidential 4494 2005-02-18 02:18:11Z mike $". +% End of "$Id: confidential 6649 2007-07-11 21:46:42Z mike $". % %%EOF