%!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 (Escp2topbm) 2209 1230 w (User) 2880 1230 w (Manual) 3149 1230 w 10 /Times-Bold f (escp2topbm) 720 1920 w 10 /Times-Roman f (Created: 1 August 2003) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (escp2topbm \255 convert an ESC/P2 printer file to a PBM image) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (escp2topbm) 720 2988 w 10 /Times-Roman f ([) 1256 2988 w 10 /Times-Italic f (printfile) 1289 2988 w 10 /Times-Roman f (]) 1612 2988 w 10 /Times-Bold f (DESCRIPTION) 720 3228 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3420 w 10 /Times-Bold f (escp2topbm) 720 3576 w 10 /Times-Roman f (reads an ESC/P2 printer control stream as input.) 1256 3576 w (It produces a PBM image as output.) 3232 3576 w 10 /Times-Bold f (escp2topbm) 720 3732 w 10 /Times-Roman f (filters) 1261 3732 w (the) 1524 3732 w (raster) 1676 3732 w (graphic) 1927 3732 w (content) 2256 3732 w (from) 2580 3732 w (an) 2805 3732 w (Epson) 2930 3732 w (ESC/P2) 3211 3732 w (printer) 3560 3732 w (control) 3857 3732 w (stream) 4171 3732 w (and) 4468 3732 w (writes) 4643 3732 w (the) 4918 3732 w (image it would print as a standard \(raw\) PBM image.) 720 3852 w (The) 720 4008 w (input) 912 4008 w (is) 1155 4008 w (from) 1259 4008 w (the) 1490 4008 w (file) 1649 4008 w (named) 1819 4008 w (by) 2122 4008 w (the) 2260 4008 w 10 /Times-Italic f (printfile) 2420 4008 w 10 /Times-Roman f (argument,) 2781 4008 w (or) 3221 4008 w (from) 3342 4008 w (Standard) 3574 4008 w (Input) 3967 4008 w (if) 4216 4008 w (you) 4315 4008 w (don't) 4503 4008 w (specify) 4752 4008 w 10 /Times-Italic f (printfile) 720 4128 w 10 /Times-Roman f (.) 1043 4128 w (The output is to Standard Output.) 1118 4128 w 10 /Times-Bold f (escp2topbm) 720 4284 w 10 /Times-Roman f (understands) 1273 4284 w (compression) 1792 4284 w (modes) 2339 4284 w (0) 2642 4284 w (\(uncompressed\)) 2734 4284 w (and) 3413 4284 w (1) 3599 4284 w (\(RLE) 3692 4284 w (compressed\)) 3957 4284 w (in) 4504 4284 w (the) 4625 4284 w (Epson) 4790 4284 w (input stream.) 720 4404 w 10 /Times-Bold f (OPTIONS) 720 4644 w 10 /Times-Roman f (none) 720 4800 w 10 /Times-Bold f (HINTS) 720 5040 w 10 /Times-Roman f (As) 720 5232 w 10 /Times-Bold f (escp2topbm) 856 5232 w 10 /Times-Roman f (is a simple program, created mainly to test) 1392 5232 w 10 /Times-Bold f (pbmtoescp2) 3115 5232 w 10 /Times-Roman f (, there are some restrictions:) 3626 5232 w 10 /LucidaSansUnicode22 f (\031) 720 5388 w 10 /Times-Bold f (escp2topbm) 970 5388 w 10 /Times-Roman f (looks only at "ESC." sequences and ignores all data outside these Escape sequences.) 1506 5388 w 10 /LucidaSansUnicode22 f (\031) 720 5544 w 10 /Times-Bold f (escp2topbm) 970 5544 w 10 /Times-Roman f (assumes) 1508 5544 w (that) 1868 5544 w (only) 2045 5544 w (one) 2250 5544 w (raster) 2422 5544 w (graphic) 2671 5544 w (is) 2998 5544 w (in) 3093 5544 w (the) 3199 5544 w (printer) 3349 5544 w (stream.) 3643 5544 w (If) 3987 5544 w (this) 4081 5544 w (isn't) 4254 5544 w (true,) 4460 5544 w (the) 4668 5544 w (result) 4818 5544 w (is garbage.) 970 5664 w 10 /LucidaSansUnicode22 f (\031) 720 5820 w 10 /Times-Bold f (escp2topbm) 970 5820 w 10 /Times-Roman f (assumes) 1521 5820 w (that) 1894 5820 w (all) 2084 5820 w ("ESC.") 2224 5820 w (sequences) 2581 5820 w (use) 3026 5820 w (the) 3200 5820 w (same) 3363 5820 w (width) 3609 5820 w (value.) 3878 5820 w (If) 4185 5820 w (this) 4292 5820 w (isn't) 4478 5820 w (true,) 4697 5820 w (the) 4918 5820 w (result is garbage.) 970 5940 w 10 /Times-Bold f (SEE ALSO) 720 6216 w (pbmtoescp2) 720 6372 w 10 /Times-Roman f (,) 1231 6372 w 10 /Times-Bold f (pbm) 1281 6372 w (AUTHOR) 720 6612 w 10 /Times-Roman f (Copyright \(C\) 2003 by Ulrich Walcher \(u.walcher@gmx.de\).) 745 6804 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 10 /Times-Bold f (HISTORY) 720 840 w (escp2topbm) 720 1032 w 10 /Times-Roman f (was added to Netpbm in Release 10.18 \(August 2003\); it was created around the same time.) 1256 1032 w 10 /S1 f (________________________________________________________________________) 720 1152 w 10 /Times-Bold f (Table Of Contents) 720 1392 w 10 /LucidaSansUnicode22 f (\031) 720 1584 w 10 /Times-Roman f (NAME) 970 1584 w 10 /LucidaSansUnicode22 f (\031) 720 1740 w 10 /Times-Roman f (SYNOPSIS) 970 1740 w 10 /LucidaSansUnicode22 f (\031) 720 1896 w 10 /Times-Roman f (DESCRIPTION) 970 1896 w 10 /LucidaSansUnicode22 f (\031) 720 2052 w 10 /Times-Roman f (OPTIONS) 970 2052 w 10 /LucidaSansUnicode22 f (\031) 720 2208 w 10 /Times-Roman f (HINTS) 970 2208 w 10 /LucidaSansUnicode22 f (\031) 720 2364 w 10 /Times-Roman f (SEE ALSO) 970 2364 w 10 /LucidaSansUnicode22 f (\031) 720 2520 w 10 /Times-Roman f (AUTHOR) 970 2520 w 10 /LucidaSansUnicode22 f (\031) 720 2676 w 10 /Times-Roman f (HISTORY) 970 2676 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 %%Pages: 2