diff options
author | Didier Raboud <didier@raboud.com> | 2010-05-23 00:05:04 +0200 |
---|---|---|
committer | Didier Raboud <didier@raboud.com> | 2010-05-23 00:05:04 +0200 |
commit | 014f0e14a3c6a044d99a67c8f4e1c4065452479e (patch) | |
tree | 300200f9bf0f3ebb0878741ddb287caf2e0d862e /test/foomatic-test-input-ps.ps | |
parent | 6fefeecb6abbb1f7dfe07ade1a0abef06dac5d32 (diff) |
Imported Upstream version 4.0-20090301upstream/4.0-20090301
Diffstat (limited to 'test/foomatic-test-input-ps.ps')
-rw-r--r-- | test/foomatic-test-input-ps.ps | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/test/foomatic-test-input-ps.ps b/test/foomatic-test-input-ps.ps new file mode 100644 index 0000000..a03c8fa --- /dev/null +++ b/test/foomatic-test-input-ps.ps @@ -0,0 +1,54 @@ +%!PS-Adobe-3.0 +%%BoundingBox: 0 0 612 792 +%%Pages: 4 +%%LanguageLevel: 1 +%%DocumentData: Clean7Bit +%%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman +%%Creator: Till Kamppeter, The Linux Foundation +%%CreationDate: D:20071017174200+0100 +%%Title: PostScript test file for testing/debugging foomatic-rip +%%EndComments +%%BeginProlog +/PAGE { +/pagenumber exch def +% Black frame magic from CUPS test page +initclip newpath clippath pathbbox +/pageTop exch def +/pageRight exch def +/pageBottom exch def +/pageLeft exch def +4 setlinewidth +0 setgray closepath stroke +% "Test Page N" in upper left corner +pageLeft 4 add pageTop 30 sub moveto +/Helvetica-Bold findfont +24 scalefont setfont +( Test Page ) show +pagenumber 1 string cvs show +} bind def +%%EndProlog +% The content of the page is kept simple, so that one sees insertions done +% by foomatic-rip or any pre filter easily. Simply make a black frame around +% the imageable area and write "Test page N" in Helvetica Bold 24pt in the upper +% left corner of each page +%%Page: 1 1 +gsave +1 PAGE +grestore +showpage +%%Page: 2 2 +gsave +2 PAGE +grestore +showpage +%%Page: 3 3 +gsave +3 PAGE +grestore +showpage +%%Page: 4 4 +gsave +4 PAGE +grestore +showpage +%%EOF |