Codebase list pnm2ppa / f58d8be testpage.ps
f58d8be

Tree @f58d8be (Download .tar.gz)

testpage.ps @f58d8beraw · history · blame

%!PS-Adobe-2.0
%%Title: testpage.fig
%%Creator: fig2dev Version 3.2.3 Patchlevel 
%%CreationDate: Tue Jul 11 01:57:38 2000
%%For: root@desktop.localdomain (root)
%%Orientation: Portrait
%%Pages: 1
%%BoundingBox: 0 0 612 792
%%BeginSetup
%%IncludeFeature: *PageSize Letter
%%EndSetup
%%Magnification: 1.0000
%%EndComments
/$F2psDict 200 dict def
$F2psDict begin
$F2psDict /mtrx matrix put
/col-1 {0 setgray} bind def
/col0 {0.000 0.000 0.000 srgb} bind def
/col1 {0.000 0.000 1.000 srgb} bind def
/col2 {0.000 1.000 0.000 srgb} bind def
/col3 {0.000 1.000 1.000 srgb} bind def
/col4 {1.000 0.000 0.000 srgb} bind def
/col5 {1.000 0.000 1.000 srgb} bind def
/col6 {1.000 1.000 0.000 srgb} bind def
/col7 {1.000 1.000 1.000 srgb} bind def
/col8 {0.000 0.000 0.560 srgb} bind def
/col9 {0.000 0.000 0.690 srgb} bind def
/col10 {0.000 0.000 0.820 srgb} bind def
/col11 {0.530 0.810 1.000 srgb} bind def
/col12 {0.000 0.560 0.000 srgb} bind def
/col13 {0.000 0.690 0.000 srgb} bind def
/col14 {0.000 0.820 0.000 srgb} bind def
/col15 {0.000 0.560 0.560 srgb} bind def
/col16 {0.000 0.690 0.690 srgb} bind def
/col17 {0.000 0.820 0.820 srgb} bind def
/col18 {0.560 0.000 0.000 srgb} bind def
/col19 {0.690 0.000 0.000 srgb} bind def
/col20 {0.820 0.000 0.000 srgb} bind def
/col21 {0.560 0.000 0.560 srgb} bind def
/col22 {0.690 0.000 0.690 srgb} bind def
/col23 {0.820 0.000 0.820 srgb} bind def
/col24 {0.500 0.190 0.000 srgb} bind def
/col25 {0.630 0.250 0.000 srgb} bind def
/col26 {0.750 0.380 0.000 srgb} bind def
/col27 {1.000 0.500 0.500 srgb} bind def
/col28 {1.000 0.630 0.630 srgb} bind def
/col29 {1.000 0.750 0.750 srgb} bind def
/col30 {1.000 0.880 0.880 srgb} bind def
/col31 {1.000 0.840 0.000 srgb} bind def

end
save
newpath 0 792 moveto 0 0 lineto 612 0 lineto 612 792 lineto closepath clip newpath
0.0 792.0 translate
1 -1 scale

/cp {closepath} bind def
/ef {eofill} bind def
/gr {grestore} bind def
/gs {gsave} bind def
/sa {save} bind def
/rs {restore} bind def
/l {lineto} bind def
/m {moveto} bind def
/rm {rmoveto} bind def
/n {newpath} bind def
/s {stroke} bind def
/sh {show} bind def
/slc {setlinecap} bind def
/slj {setlinejoin} bind def
/slw {setlinewidth} bind def
/srgb {setrgbcolor} bind def
/rot {rotate} bind def
/sc {scale} bind def
/sd {setdash} bind def
/ff {findfont} bind def
/sf {setfont} bind def
/scf {scalefont} bind def
/sw {stringwidth} bind def
/tr {translate} bind def
/tnt {dup dup currentrgbcolor
  4 -2 roll dup 1 exch sub 3 -1 roll mul add
  4 -2 roll dup 1 exch sub 3 -1 roll mul add
  4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
  bind def
/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
  4 -2 roll mul srgb} bind def
/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
/$F2psEnd {$F2psEnteredState restore end} def

$F2psBegin
%%Page: 1 1
10 setmiterlimit
 0.06000 0.06000 sc
%%Page: 1 1
/Times-Bold ff 300.00 scf sf
2175 3075 m
gs 1 -1 sc (To adjust the offsets in the configuration file) col0 sh gr
/Times-Bold ff 300.00 scf sf
2175 3390 m
gs 1 -1 sc (/etc/pnm2ppa.conf, change the values of xoff) col0 sh gr
/Times-Bold ff 300.00 scf sf
2175 3705 m
gs 1 -1 sc (and yoff until this page is printed correctly ) col0 sh gr
/Times-Bold ff 300.00 scf sf
2175 4020 m
gs 1 -1 sc (centered on the paper.) col0 sh gr
% Polyline
7.500 slw
n 2400 7200 m 3000 7200 l 3000 7500 l 2400 7500 l
 cp gs col10 1.00 shd ef gr gs col-1 s gr 
% Polyline
n 3600 7200 m 4200 7200 l 4200 7500 l 3600 7500 l
 cp gs col6 1.00 shd ef gr gs col-1 s gr 
% Polyline
n 4200 7200 m 4800 7200 l 4800 7500 l 4200 7500 l
 cp gs col5 1.00 shd ef gr gs col-1 s gr 
% Polyline
n 4800 7200 m 5400 7200 l 5400 7500 l 4800 7500 l
 cp gs col26 1.00 shd ef gr gs col-1 s gr 
% Polyline
n 5400 7200 m 6000 7200 l 6000 7500 l 5400 7500 l
 cp gs col31 1.00 shd ef gr gs col-1 s gr 
% Polyline
n 6000 7200 m 6600 7200 l 6600 7500 l 6000 7500 l
 cp gs col3 1.00 shd ef gr gs col-1 s gr 
% Polyline
n 3000 7200 m 3600 7200 l 3600 7500 l 3000 7500 l
 cp gs col20 1.00 shd ef gr gs col-1 s gr 
% Polyline
n 6600 7200 m 7200 7200 l 7200 7500 l 6600 7500 l
 cp gs col2 1.00 shd ef gr gs col-1 s gr 
/Helvetica-Bold ff 150.00 scf sf
5100 7800 m
gs 1 -1 sc (Brown) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 150.00 scf sf
5700 7800 m
gs 1 -1 sc (Gold) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 150.00 scf sf
6900 7800 m
gs 1 -1 sc (Green) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 150.00 scf sf
3900 7800 m
gs 1 -1 sc (Yellow) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 150.00 scf sf
3300 7800 m
gs 1 -1 sc (Red) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 150.00 scf sf
2700 7800 m
gs 1 -1 sc (Blue) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 150.00 scf sf
4500 7800 m
gs 1 -1 sc (Purple) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 150.00 scf sf
6300 7800 m
gs 1 -1 sc (Cyan) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 2100 m
gs 1 -1 sc (Postscript Test Page \(US Letter paper\)) dup sw pop 2 div neg 0 rm  col-1 sh gr
% Polyline
15.000 slw
n 600 600 m 9600 600 l 9600 12600 l 600 12600 l
 cp gs col-1 s gr 
% Polyline
n 1200 1200 m 9000 1200 l 9000 12000 l 1200 12000 l
 cp gs col-1 s gr 
/Times-Roman ff 180.00 scf sf
4800 12375 m
gs 1 -1 sc (0.5") col-1 sh gr
/Times-Roman ff 180.00 scf sf
4725 900 m
gs 1 -1 sc (0.5") col-1 sh gr
/Times-Roman ff 180.00 scf sf
4800 11850 m
gs 1 -1 sc (1") col-1 sh gr
/Times-Roman ff 180.00 scf sf
4800 1500 m
gs 1 -1 sc (1") col-1 sh gr
/Times-Roman ff 180.00 scf sf
750 7500 m
gs 1 -1 sc (0.5") col-1 sh gr
/Times-Roman ff 180.00 scf sf
1350 7500 m
gs 1 -1 sc (1") col-1 sh gr
/Times-Roman ff 180.00 scf sf
8700 7500 m
gs 1 -1 sc (1") col-1 sh gr
/Times-Roman ff 180.00 scf sf
9225 7500 m
gs 1 -1 sc (0.5") col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 6420 m
gs 1 -1 sc (Here are some other colors; they) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 6765 m
gs 1 -1 sc (will appear as greys on a B&W printer...) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 9225 m
gs 1 -1 sc (are spaced at 0.5" and 1") dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 8880 m
gs 1 -1 sc (The boxes bordering this page) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 9600 m
gs 1 -1 sc (from the sides of the paper.) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 10500 m
gs 1 -1 sc (It is not unusual for the 0.5" bottom margin) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 10845 m
gs 1 -1 sc (not to show. Many printers cannot) dup sw pop 2 div neg 0 rm  col-1 sh gr
/Helvetica-Bold ff 270.00 scf sf
4800 11190 m
gs 1 -1 sc (print that close to the bottom of the page.) dup sw pop 2 div neg 0 rm  col-1 sh gr
$F2psEnd
rs
showpage