%!PS-Adobe-2.0 %%Version: 0.1 %%DocumentFonts: (atend) %%Pages: (atend) %%EndComments % % Version 3.3.2 prologue for troff files. % /#copies 1 store /aspectratio 1 def /formsperpage 1 def /landscape false def /linewidth .3 def /magnification 1 def /margin 0 def /orientation 0 def /resolution 720 def /rotation 1 def /xoffset 0 def /yoffset 0 def /roundpage true def /useclippath true def /pagebbox [0 0 612 792] def /R /Times-Roman def /I /Times-Italic def /B /Times-Bold def /BI /Times-BoldItalic def /H /Helvetica def /HI /Helvetica-Oblique def /HB /Helvetica-Bold def /HX /Helvetica-BoldOblique def /CW /Courier def /CO /Courier def /CI /Courier-Oblique def /CB /Courier-Bold def /CX /Courier-BoldOblique def /PA /Palatino-Roman def /PI /Palatino-Italic def /PB /Palatino-Bold def /PX /Palatino-BoldItalic def /Hr /Helvetica-Narrow def /Hi /Helvetica-Narrow-Oblique def /Hb /Helvetica-Narrow-Bold def /Hx /Helvetica-Narrow-BoldOblique def /KR /Bookman-Light def /KI /Bookman-LightItalic def /KB /Bookman-Demi def /KX /Bookman-DemiItalic def /AR /AvantGarde-Book def /AI /AvantGarde-BookOblique def /AB /AvantGarde-Demi def /AX /AvantGarde-DemiOblique def /NR /NewCenturySchlbk-Roman def /NI /NewCenturySchlbk-Italic def /NB /NewCenturySchlbk-Bold def /NX /NewCenturySchlbk-BoldItalic def /ZD /ZapfDingbats def /ZI /ZapfChancery-MediumItalic def /S /S def /S1 /S1 def /GR /Symbol def /inch {72 mul} bind def /min {2 copy gt {exch} if pop} bind def /setup { counttomark 2 idiv {def} repeat pop landscape {/orientation 90 orientation add def} if /scaling 72 resolution div def linewidth setlinewidth 1 setlinecap pagedimensions xcenter ycenter translate orientation rotation mul rotate width 2 div neg height 2 div translate xoffset inch yoffset inch neg translate margin 2 div dup neg translate magnification dup aspectratio mul scale scaling scaling scale addmetrics 0 0 moveto } def /pagedimensions { useclippath userdict /gotpagebbox known not and { /pagebbox [clippath pathbbox newpath] def roundpage currentdict /roundpagebbox known and {roundpagebbox} if } if pagebbox aload pop 4 -1 roll exch 4 1 roll 4 copy landscape {4 2 roll} if sub /width exch def sub /height exch def add 2 div /xcenter exch def add 2 div /ycenter exch def userdict /gotpagebbox true put } def /addmetrics { /Symbol /S null Sdefs cf /Times-Roman /S1 StandardEncoding dup length array copy S1defs cf } def /pagesetup { /page exch def currentdict /pagedict known currentdict page known and { page load pagedict exch get cvx exec } if } def /decodingdefs [ {counttomark 2 idiv {y moveto show} repeat} {neg /y exch def counttomark 2 idiv {y moveto show} repeat} {neg moveto {2 index stringwidth pop sub exch div 0 32 4 -1 roll widthshow} repeat} {neg moveto {spacewidth sub 0.0 32 4 -1 roll widthshow} repeat} {counttomark 2 idiv {y moveto show} repeat} {neg setfunnytext} ] def /setdecoding {/t decodingdefs 3 -1 roll get bind def} bind def /w {neg moveto show} bind def /m {neg dup /y exch def moveto} bind def /done {/lastpage where {pop lastpage} if} def /f { dup /font exch def findfont exch dup /ptsize exch def scaling div dup /size exch def scalefont setfont linewidth ptsize mul scaling 10 mul div setlinewidth /spacewidth ( ) stringwidth pop def } bind def /changefont { /fontheight exch def /fontslant exch def currentfont [ 1 0 fontheight ptsize div fontslant sin mul fontslant cos div fontheight ptsize div 0 0 ] makefont setfont } bind def /sf {f} bind def /cf { dup length 2 idiv /entries exch def /chtab exch def /newencoding exch def /newfont exch def findfont dup length 1 add dict /newdict exch def {1 index /FID ne {newdict 3 1 roll put}{pop pop} ifelse} forall newencoding type /arraytype eq {newdict /Encoding newencoding put} if newdict /Metrics entries dict put newdict /Metrics get begin chtab aload pop 1 1 entries {pop def} for newfont newdict definefont pop end } bind def % % A few arrays used to adjust reference points and character widths in some % of the printer resident fonts. If square roots are too high try changing % the lines describing /radical and /radicalex to, % % /radical [0 -75 550 0] % /radicalex [-50 -75 500 0] % % Move braceleftbt a bit - default PostScript character is off a bit. % /Sdefs [ /bracketlefttp [201 500] /bracketleftbt [201 500] /bracketrighttp [-81 380] /bracketrightbt [-83 380] /braceleftbt [203 490] /bracketrightex [220 -125 500 0] /radical [0 0 550 0] /radicalex [-50 0 500 0] /parenleftex [-20 -170 0 0] /integral [100 -50 500 0] /infinity [10 -75 730 0] ] def /S1defs [ /underscore [0 80 500 0] /endash [7 90 650 0] ] def % % Tries to round clipping path dimensions, as stored in array pagebbox, so they % match one of the known sizes in the papersizes array. Lower left coordinates % are always set to 0. % /roundpagebbox { 7 dict begin /papersizes [8.5 inch 11 inch 14 inch 17 inch] def /mappapersize { /val exch def /slop .5 inch def /diff slop def /j 0 def 0 1 papersizes length 1 sub { /i exch def papersizes i get val sub abs dup diff le {/diff exch def /j i def} {pop} ifelse } for diff slop lt {papersizes j get} {val} ifelse } def pagebbox 0 0 put pagebbox 1 0 put pagebbox dup 2 get mappapersize 2 exch put pagebbox dup 3 get mappapersize 3 exch put end } bind def %%EndProlog %%BeginSetup mark % % Encoding vector and redefinition of findfont for the ISO Latin1 standard. % The 18 characters missing from ROM based fonts on older printers are noted % below. % /ISOLatin1Encoding [ /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright /parenleft /parenright /asterisk /plus /comma /minus /period /slash /zero /one /two /three /four /five /six /seven /eight /nine /colon /semicolon /less /equal /greater /question /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O /P /Q /R /S /T /U /V /W /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore /quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o /p /q /r /s /t /u /v /w /x /y /z /braceleft /bar /braceright /asciitilde /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /dotlessi /grave /acute /circumflex /tilde /macron /breve /dotaccent /dieresis /.notdef /ring /cedilla /.notdef /hungarumlaut /ogonek /caron /space /exclamdown /cent /sterling /currency /yen /brokenbar % missing /section /dieresis /copyright /ordfeminine /guillemotleft /logicalnot /hyphen /registered /macron /degree % missing /plusminus % missing /twosuperior % missing /threesuperior % missing /acute /mu % missing /paragraph /periodcentered /cedilla /onesuperior % missing /ordmasculine /guillemotright /onequarter % missing /onehalf % missing /threequarters % missing /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth % missing /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply % missing /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute % missing /Thorn % missing /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth % missing /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide % missing /oslash /ugrave /uacute /ucircumflex /udieresis /yacute % missing /thorn % missing /ydieresis ] def /NewFontDirectory FontDirectory maxlength dict def % % Apparently no guarantee findfont is defined in systemdict so the obvious % % systemdict /findfont get exec % % can generate an error. So far the only exception is a VT600 (version 48.0). % userdict /@RealFindfont known not { userdict begin /@RealFindfont systemdict begin /findfont load end def end } if /findfont { dup NewFontDirectory exch known not { dup %dup systemdict /findfont get exec % not always in systemdict dup userdict /@RealFindfont get exec dup /Encoding get StandardEncoding eq { dup length dict begin {1 index /FID ne {def}{pop pop} ifelse} forall /Encoding ISOLatin1Encoding def currentdict end /DummyFontName exch definefont } if NewFontDirectory 3 1 roll put } if NewFontDirectory exch get } bind def setup %%EndSetup %%Page: 1 1 /saveobj save def mark 1 pagesetup 12 /Times-Bold f (Pbmtoescp2 User) 2220 1230 w (Manual) 3139 1230 w 10 /Times-Bold f (pbmtoescp2) 720 1920 w 10 /Times-Roman f (Updated: 4 April 2005) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (pbmtoescp2 \255 convert a PBM image to a ESC/P2 printer file) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (pbmtoescp2) 720 2988 w 10 /Times-Roman f ([) 1256 2988 w 10 /Times-Bold f (\255compress=) 1289 2988 w 10 /Times-Italic f (compressionmode) 1778 2988 w 10 /Times-Roman f (] [) 2499 2988 w 10 /Times-Bold f (\255resolution=) 2590 2988 w 10 /Times-Italic f (dpi) 3108 2988 w 10 /Times-Roman f (] [) 3236 2988 w 10 /Times-Italic f (pbmfile) 3327 2988 w 10 /Times-Roman f (]) 3627 2988 w (All) 720 3144 w (options) 876 3144 w (can) 1199 3144 w (be) 1366 3144 w (abbreviated) 1489 3144 w (to) 1983 3144 w (their) 2090 3144 w (shortest) 2302 3144 w (unique) 2642 3144 w (prefix.) 2943 3144 w (You) 3260 3144 w (may) 3461 3144 w (use) 3662 3144 w (two) 3824 3144 w (hyphens) 4003 3144 w (instead) 4365 3144 w (of) 4677 3144 w (one) 4789 3144 w (to) 4962 3144 w (designate an option.) 720 3264 w (You may use either white space or equals signs between an option name and its value.) 1572 3264 w (Input is read from file) 720 3420 w 10 /Times-Italic f (pbmfile) 1621 3420 w 10 /Times-Roman f (if specified, otherwise from stdin. Output is written to stdout.) 1946 3420 w 10 /Times-Bold f (DESCRIPTION) 720 3660 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3852 w 10 /Times-Bold f (pbmtoescp2) 720 4008 w 10 /Times-Roman f (reads) 1262 4008 w (a) 1503 4008 w (PBM) 1578 4008 w (image) 1822 4008 w (as) 2098 4008 w (input.) 2213 4008 w (It) 2501 4008 w (produces) 2594 4008 w (an) 2986 4008 w (ESC/P2) 3112 4008 w (raster) 3462 4008 w (graphic) 3715 4008 w (printer) 4046 4008 w (control) 4344 4008 w (stream) 4659 4008 w (as) 4957 4008 w (output.) 720 4128 w (This) 745 4284 w (program) 951 4284 w (creates) 1317 4284 w (an) 1621 4284 w (output) 1743 4284 w (that) 2027 4284 w (is) 2205 4284 w (printable) 2300 4284 w (on) 2683 4284 w (Epson) 2811 4284 w (printers) 3090 4284 w (that) 3424 4284 w (understand) 3603 4284 w (the) 4070 4284 w (ESC/P2) 4221 4284 w (printer) 4568 4284 w (con\255) 4863 4284 w (trol) 720 4404 w (language) 885 4404 w (\(e.g.) 1271 4404 w (the) 1474 4404 w (Stylus) 1622 4404 w (models\).) 1899 4404 w (For) 2297 4404 w (older) 2462 4404 w (Epson) 2693 4404 w (9\255pin) 2969 4404 w (dot) 3206 4404 w (matrix) 3360 4404 w (printers,) 3647 4404 w (which) 4003 4404 w (use) 4273 4404 w (the) 4432 4404 w (ESC/P) 4580 4404 w (pro\255) 4874 4404 w (tocol, see) 720 4524 w 10 /Times-Bold f (pbmtoepson) 1122 4524 w 10 /Times-Roman f (.) 1645 4524 w 10 /Times-Bold f (OPTIONS) 720 4764 w (\255compress=) 970 4956 w 10 /Times-Italic f (compressionmode) 1459 4956 w 10 /Times-Roman f (This) 2180 4956 w (determines) 2401 4956 w (the) 2882 4956 w (compression) 3047 4956 w (mode) 3595 4956 w (that) 3860 4956 w 10 /Times-Bold f (pbmtoescp2) 4053 4956 w 10 /Times-Roman f (uses) 4607 4956 w (in) 4823 4956 w (its) 4945 4956 w (output.) 1220 5076 w (Valid) 1556 5076 w (values) 1808 5076 w (for) 2093 5076 w 10 /Times-Italic f (compressionmode) 2239 5076 w 10 /Times-Roman f (are) 2990 5076 w 10 /Times-Bold f (0) 3141 5076 w 10 /Times-Roman f (and) 3221 5076 w 10 /Times-Bold f (1) 3395 5076 w 10 /Times-Roman f (.) 3445 5076 w 10 /Times-Bold f (\255compress=0) 3525 5076 w 10 /Times-Roman f (results) 4094 5076 w (in) 4385 5076 w (a) 4493 5076 w (printer) 4567 5076 w (con\255) 4863 5076 w (trol) 1220 5196 w (stream) 1397 5196 w (with) 1701 5196 w (uncompressed) 1917 5196 w (raster) 2526 5196 w (graphic) 2785 5196 w (data.) 3122 5196 w 10 /Times-Bold f (\255compress=1) 3376 5196 w 10 /Times-Roman f (results) 3953 5196 w (in) 4252 5196 w (a) 4369 5196 w (printer) 4452 5196 w (control) 4757 5196 w (stream) 1220 5316 w (with) 1527 5316 w (RLE) 1746 5316 w (compressed) 1975 5316 w (raster) 2486 5316 w (graphic) 2747 5316 w (data) 3086 5316 w (\(RLE) 3292 5316 w (means) 3554 5316 w (Run) 3849 5316 w (Length) 4056 5316 w (Encoding\).) 4379 5316 w (The) 4885 5316 w (default is) 1220 5436 w 10 /Times-Bold f (\255compress=1) 1614 5436 w 10 /Times-Roman f (.) 2153 5436 w 10 /Times-Bold f (\255resolution=) 970 5592 w 10 /Times-Italic f (dpi) 1488 5592 w 10 /Times-Roman f (This) 1616 5592 w (determines) 1822 5592 w (the) 2288 5592 w (horizontal) 2438 5592 w (and) 2871 5592 w (the) 3044 5592 w (vertical) 3195 5592 w (print) 3523 5592 w (resolution) 3741 5592 w (set) 4170 5592 w (in) 4310 5592 w (the) 4417 5592 w (printer) 4568 5592 w (con\255) 4863 5592 w (trol) 1220 5712 w (stream.) 1394 5712 w (Another) 1745 5712 w (way) 2107 5712 w (of) 2308 5712 w (looking) 2426 5712 w (at) 2767 5712 w (it) 2874 5712 w (is) 2965 5712 w (a) 3067 5712 w (declaration) 3146 5712 w (of) 3624 5712 w (what) 3742 5712 w (the) 3971 5712 w (resolution) 4127 5712 w (of) 4561 5712 w (the) 4678 5712 w (input) 4834 5712 w (image) 1220 5832 w (is) 1494 5832 w (\(PBM) 1591 5832 w (images) 1866 5832 w (don't) 2179 5832 w (have) 2421 5832 w (inherent) 2640 5832 w (resolution\).) 2998 5832 w (Valid) 3512 5832 w (values) 3765 5832 w (for) 4051 5832 w 10 /Times-Italic f (dpi) 4198 5832 w 10 /Times-Roman f (are) 4357 5832 w 10 /Times-Bold f (180) 4509 5832 w 10 /Times-Roman f (and) 4690 5832 w 10 /Times-Bold f (360) 4865 5832 w 10 /Times-Roman f (.) 5015 5832 w (See hints for more information on this.) 1220 5952 w (The default is) 970 6108 w 10 /Times-Bold f (\255resolution=360) 1544 6108 w 10 /Times-Roman f (.) 2212 6108 w 10 /Times-Bold f (HINTS) 720 6348 w 10 /Times-Roman f (RLE) 720 6540 w (compresses) 950 6540 w (very) 1451 6540 w (well) 1669 6540 w (bitmaps) 1883 6540 w (of) 2242 6540 w (line) 2367 6540 w (drawings,) 2559 6540 w (preferably) 2992 6540 w (horizontal) 3443 6540 w (oriented) 3890 6540 w (contents) 4259 6540 w (like) 4634 6540 w (texts,) 4826 6540 w (sheets) 720 6660 w (of) 991 6660 w (music,) 1101 6660 w (etc.) 1392 6660 w (However,) 1585 6660 w (bitmaps) 2002 6660 w (derived) 2346 6660 w (from) 2672 6660 w (photographs) 2893 6660 w (are) 3414 6660 w (not) 3562 6660 w (ideal) 3717 6660 w (for) 3938 6660 w (RLE.) 4081 6660 w (In) 4347 6660 w (extreme) 4457 6660 w (cases,) 4805 6660 w (when) 720 6780 w (no) 964 6780 w (byte) 1092 6780 w (repetitions) 1292 6780 w (occur) 1742 6780 w (in) 1991 6780 w (the) 2097 6780 w (input,) 2247 6780 w (the) 2506 6780 w (result) 2656 6780 w (will) 2906 6780 w (be) 3090 6780 w (even) 3212 6780 w (slightly) 3428 6780 w (bigger) 3757 6780 w (than) 4041 6780 w (the) 4242 6780 w (input.) 4393 6780 w (To) 4678 6780 w (avoid) 4818 6780 w (this, use compression mode 0 to switch off RLE.) 720 6900 w (Each) 720 7056 w (pixel) 947 7056 w (in) 1175 7056 w (the) 1281 7056 w (input) 1431 7056 w (PBM) 1665 7056 w (image) 1905 7056 w (becomes) 2177 7056 w (one) 2554 7056 w (dot) 2726 7056 w (in) 2882 7056 w (the) 2988 7056 w (printed) 3138 7056 w (output.) 3449 7056 w (Therefore,) 3783 7056 w (you) 4228 7056 w (must) 4406 7056 w (make) 4629 7056 w (sure) 4874 7056 w (the) 720 7176 w (width) 872 7176 w (and) 1130 7176 w (height) 1304 7176 w (of) 1584 7176 w (the) 1697 7176 w (input) 1849 7176 w (are) 2085 7176 w (appropriate) 2236 7176 w (for) 2720 7176 w (the) 2866 7176 w (print) 3018 7176 w (resolution) 3237 7176 w (you) 3667 7176 w (choose) 3847 7176 w (and) 4154 7176 w (the) 4327 7176 w (print) 4478 7176 w (area) 4696 7176 w (you) 4890 7176 w (want.) 720 7296 w (E.g.) 995 7296 w (if) 1187 7296 w (you) 1279 7296 w (print) 1460 7296 w (at) 1680 7296 w (180) 1783 7296 w (dpi) 1964 7296 w (and) 2123 7296 w (want) 2298 7296 w (the) 2523 7296 w (image) 2676 7296 w (to) 2951 7296 w (print) 3060 7296 w (as) 3280 7296 w (8) 3394 7296 w (inches) 3475 7296 w (by) 3761 7296 w (10,) 3892 7296 w (you) 4048 7296 w (must) 4229 7296 w (supply) 4455 7296 w (a) 4753 7296 w (PBM) 4828 7296 w cleartomark showpage saveobj restore %%EndPage: 1 1 %%Page: 2 2 /saveobj save def mark 2 pagesetup 10 /Times-Roman f (\255 2 \255) 2797 480 w (that) 720 840 w (is) 905 840 w (1440) 1006 840 w (pixels) 1240 840 w (wide) 1513 840 w (by) 1741 840 w (1800) 1875 840 w (pixels) 2109 840 w (high.) 2382 840 w (You) 2644 840 w (can) 2850 840 w (adjust) 3022 840 w (the) 3295 840 w (size) 3451 840 w (of) 3640 840 w (the) 3757 840 w (input) 3913 840 w (with) 4153 840 w 10 /Times-Bold f (pamscale) 4365 840 w 10 /Times-Roman f (,) 4759 840 w 10 /Times-Bold f (pam\255) 4818 840 w (stretch) 720 960 w 10 /Times-Roman f (,) 1013 960 w 10 /Times-Bold f (pbmreduce) 1063 960 w 10 /Times-Roman f (, or) 1546 960 w 10 /Times-Bold f (pamenlarge) 1704 960 w 10 /Times-Roman f (.) 2209 960 w 10 /Times-Bold f (SEE ALSO) 720 1200 w (escp2topbm) 720 1356 w 10 /Times-Roman f (,) 1231 1356 w 10 /Times-Bold f (pbmtoepson) 1281 1356 w 10 /Times-Roman f (,) 1804 1356 w 10 /Times-Bold f (pamscale) 1854 1356 w 10 /Times-Roman f (,) 2248 1356 w 10 /Times-Bold f (pamstretch) 2298 1356 w 10 /Times-Roman f (,) 2780 1356 w 10 /Times-Bold f (pbmreduce) 2830 1356 w 10 /Times-Roman f (,) 3313 1356 w 10 /Times-Bold f (pamenlarge) 3363 1356 w 10 /Times-Roman f (,) 3868 1356 w 10 /Times-Bold f (pbm) 3918 1356 w (AUTHOR) 720 1596 w 10 /Times-Roman f (Copyright \(C\) 2003 by Ulrich Walcher \(u.walcher@gmx.de\).) 720 1788 w 10 /Times-Bold f (HISTORY) 720 2028 w (pbmtoescp2) 720 2220 w 10 /Times-Roman f (was added to Netpbm in Release 10.18 \(August 2003\); it was created around the same time.) 1256 2220 w 10 /S1 f (________________________________________________________________________) 720 2340 w 10 /Times-Bold f (Table Of Contents) 720 2580 w 10 /LucidaSansUnicode22 f (\031) 720 2772 w 10 /Times-Roman f (NAME) 970 2772 w 10 /LucidaSansUnicode22 f (\031) 720 2928 w 10 /Times-Roman f (SYNOPSIS) 970 2928 w 10 /LucidaSansUnicode22 f (\031) 720 3084 w 10 /Times-Roman f (DESCRIPTION) 970 3084 w 10 /LucidaSansUnicode22 f (\031) 720 3240 w 10 /Times-Roman f (OPTIONS) 970 3240 w 10 /LucidaSansUnicode22 f (\031) 720 3396 w 10 /Times-Roman f (HINTS) 970 3396 w 10 /LucidaSansUnicode22 f (\031) 720 3552 w 10 /Times-Roman f (SEE ALSO) 970 3552 w 10 /LucidaSansUnicode22 f (\031) 720 3708 w 10 /Times-Roman f (AUTHOR) 970 3708 w 10 /LucidaSansUnicode22 f (\031) 720 3864 w 10 /Times-Roman f (HISTORY) 970 3864 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 %%Pages: 2