diff options
author | Didier Raboud <didier@raboud.com> | 2010-05-23 00:07:10 +0200 |
---|---|---|
committer | Didier Raboud <didier@raboud.com> | 2010-05-23 00:07:10 +0200 |
commit | f56211f0ff4ddf9371ebc4c31e8f95df1fc81a5c (patch) | |
tree | a24f15ea2fc96e0688e96c58e35dde7adeaef3fb /test/foomatic-test-input-ps.ps | |
parent | b834bd56528993fa05a5645da808227aee3e9de7 (diff) | |
parent | 014f0e14a3c6a044d99a67c8f4e1c4065452479e (diff) |
Merge branch 'upstream'
Conflicts:
debian/README.Debian
debian/changelog
debian/control
debian/copyright
debian/foomatic-filters.config
debian/foomatic-filters.postinst
debian/foomatic-filters.postrm
debian/foomatic-filters.templates
debian/parseconfig.pl
debian/po/de.po
debian/po/fr.po
debian/po/ja.po
debian/po/nl.po
debian/po/pt_BR.po
debian/po/templates.pot
debian/po/tr.po
debian/rules
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 |