%!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 (Ppmtopj) 2306 1230 w (User) 2783 1230 w (Manual) 3052 1230 w 10 /Times-Bold f (ppmtopj) 720 1920 w 10 /Times-Roman f (Updated: 13 July 1991) 720 2076 w (Table Of Contents) 720 2196 w 10 /Times-Bold f (NAME) 720 2436 w 10 /Times-Roman f (ppmtopj \255 convert a PPM image to an HP PaintJet file) 720 2592 w 10 /Times-Bold f (SYNOPSIS) 720 2832 w (ppmtopj) 720 2988 w 10 /Times-Roman f ([) 1126 2988 w 10 /Times-Bold f (\255gamma) 1159 2988 w 10 /Times-Italic f (val) 1548 2988 w 10 /Times-Roman f (]) 1670 2988 w ([) 1743 2988 w 10 /Times-Bold f (\255xpos) 1776 2988 w 10 /Times-Italic f (val) 2044 2988 w 10 /Times-Roman f (]) 2166 2988 w ([) 2239 2988 w 10 /Times-Bold f (\255ypos) 2272 2988 w 10 /Times-Italic f (val) 2540 2988 w 10 /Times-Roman f (]) 2662 2988 w ([) 2735 2988 w 10 /Times-Bold f (\255back) 2768 2988 w 10 /Times-Roman f ({) 3047 2988 w 10 /Times-Bold f (dark) 3095 2988 w 10 /S f (\357) 3301 2988 w 10 /Times-Bold f (lite) 3350 2988 w 10 /Times-Roman f (}]) 3483 2988 w ([) 3604 2988 w 10 /Times-Bold f (\255rle) 3637 2988 w 10 /Times-Roman f (]) 3786 2988 w ([) 3859 2988 w 10 /Times-Bold f (\255center) 3892 2988 w 10 /Times-Roman f (]) 4190 2988 w ([) 4263 2988 w 10 /Times-Bold f (\255render) 4296 2988 w 10 /Times-Roman f ({) 4657 2988 w 10 /Times-Bold f (none) 4745 2988 w 10 /S f (\357) 4991 2988 w 10 /Times-Bold f (snap) 720 3108 w 10 /S f (\357) 947 3108 w 10 /Times-Bold f (bw) 1022 3108 w 10 /S f (\357) 1176 3108 w 10 /Times-Bold f (dither) 1251 3108 w 10 /S f (\357) 1538 3108 w 10 /Times-Bold f (diffuse) 1613 3108 w 10 /S f (\357) 1928 3108 w 10 /Times-Bold f (monodither) 2003 3108 w 10 /S f (\357) 2529 3108 w 10 /Times-Bold f (monodiffuse) 2604 3108 w 10 /S f (\357) 3158 3108 w 10 /Times-Bold f (clusterdither) 3233 3108 w 10 /S f (\357) 3808 3108 w 10 /Times-Bold f (monoclusterdither) 3883 3108 w 10 /Times-Roman f (}] [) 4696 3108 w 10 /Times-Italic f (ppm\255) 4835 3108 w (file) 720 3228 w 10 /Times-Roman f (]) 848 3228 w 10 /Times-Bold f (DESCRIPTION) 720 3468 w 10 /Times-Roman f (This program is part of Netpbm.) 720 3660 w 10 /Times-Bold f (ppmtopj) 720 3816 w 10 /Times-Roman f (reads) 1114 3816 w (a) 1351 3816 w (PPM) 1422 3816 w (image) 1650 3816 w (as) 1922 3816 w (input) 2033 3816 w (and) 2267 3816 w (converts) 2439 3816 w (it) 2805 3816 w (into) 2889 3816 w (a) 3073 3816 w (format) 3145 3816 w (suitable) 3439 3816 w (to) 3778 3816 w (be) 3884 3816 w (printed) 4006 3816 w (by) 4317 3816 w (an) 4445 3816 w (HP) 4567 3816 w (PaintJet) 4723 3816 w (printer.) 720 3936 w (For best results, the input file should be in 8\255color RGB form; i.e. it should have only the) 720 4092 w (8) 4306 4092 w (binary) 4382 4092 w (combina\255) 4663 4092 w (tions of full\255on and full\255off primaries.) 720 4212 w (You could convert your input to this format like this:) 2279 4212 w (pamseq 3 1 testimg.ppm >8color.pam) 820 4392 w (pnmremap \255map 8color.pam testimg.pam ) 820 4512 w 10 /S f (\357) 2496 4512 w 10 /Times-Roman f (ppmtopj) 2570 4512 w (Or you could use use) 720 4692 w (ppmdither \255red 2 \255green 2 \255blue 2) 820 4872 w 10 /Times-Bold f (OPTIONS) 720 5172 w (\255rle) 970 5364 w 10 /Times-Roman f (Run length encode the image.) 1220 5364 w (\(This can result in larger images\)) 2460 5364 w 10 /Times-Bold f (\255back) 970 5520 w 10 /Times-Roman f (Enhance) 1220 5520 w (the) 1594 5520 w (foreground) 1747 5520 w (by) 2221 5520 w (indicating) 2352 5520 w (if) 2783 5520 w (the) 2875 5520 w (background) 3028 5520 w (is) 3530 5520 w (light) 3628 5520 w (or) 3843 5520 w (dark) 3957 5520 w (compated) 4165 5520 w (to) 4584 5520 w (the) 4693 5520 w (fore\255) 4847 5520 w (ground.) 1220 5640 w 10 /Times-Bold f (\255render) 970 5796 w 10 /Times-Italic f (alg) 1316 5796 w 10 /Times-Roman f (Use an internal rendering algorithm \(default dither\).) 1444 5796 w 10 /Times-Bold f (\255gamma) 970 5952 w 10 /Times-Italic f (int) 1344 5952 w 10 /Times-Roman f (Gamma correct the image using the integer) 1450 5952 w 10 /Times-Italic f (int) 3199 5952 w 10 /Times-Roman f (as a gamma \(default 0\).) 3330 5952 w 10 /Times-Bold f (\255center) 970 6108 w 10 /Times-Roman f (Center the image to an 8.5 by 11 page) 1268 6108 w 10 /Times-Bold f (\255xpos) 970 6264 w 10 /Times-Italic f (pos) 1223 6264 w 10 /Times-Roman f (Move by) 1362 6264 w 10 /Times-Italic f (pos) 1745 6264 w 10 /Times-Roman f (pixels in the x direction.) 1909 6264 w 10 /Times-Bold f (\255ypos) 970 6420 w 10 /Times-Italic f (pos) 1223 6420 w 10 /Times-Roman f (Move by) 1362 6420 w 10 /Times-Italic f (pos) 1745 6420 w 10 /Times-Roman f (pixels in the y direction.) 1909 6420 w 10 /Times-Bold f (SEE ALSO) 720 6660 w 10 /Times-Roman f (HP) 720 6816 w (PaintJet) 876 6816 w (XL) 1221 6816 w (Color) 1382 6816 w (Graphics) 1638 6816 w (Printer) 2027 6816 w (User's) 2328 6816 w (Guide,) 2617 6816 w 10 /Times-Bold f (pnmtopclxl.html) 2915 6816 w 10 /Times-Roman f (,) 3624 6816 w 10 /Times-Bold f (pjtoppm.html) 3678 6816 w 10 /Times-Roman f (,) 4270 6816 w 10 /Times-Bold f (pamdepth) 4324 6816 w 10 /Times-Roman f (,) 4758 6816 w 10 /Times-Bold f (pnm\255) 4812 6816 w (remap) 720 6936 w 10 /Times-Roman f (,) 997 6936 w 10 /Times-Bold f (pamseq) 1047 6936 w 10 /Times-Roman f (,) 1375 6936 w 10 /Times-Bold f (ppmdither) 1425 6936 w 10 /Times-Roman f (,) 1881 6936 w 10 /Times-Bold f (pbmtolj.html) 1931 6936 w 10 /Times-Roman f (,) 2495 6936 w 10 /Times-Bold f (ppmtolj) 2545 6936 w 10 /Times-Roman f (,) 2884 6936 w 10 /Times-Bold f (thinkjettopbm) 2934 6936 w 10 /Times-Roman f (,) 3551 6936 w 10 /Times-Bold f (ppm) 3601 6936 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 (AUTHOR) 720 840 w 10 /Times-Roman f (Copyright \(C\) 1991 by Christos Zoulas.) 720 996 w 10 /S1 f (________________________________________________________________________) 720 1116 w 10 /Times-Bold f (Table Of Contents) 720 1356 w 10 /LucidaSansUnicode22 f (\031) 720 1548 w 10 /Times-Roman f (NAME) 970 1548 w 10 /LucidaSansUnicode22 f (\031) 720 1704 w 10 /Times-Roman f (SYNOPSIS) 970 1704 w 10 /LucidaSansUnicode22 f (\031) 720 1860 w 10 /Times-Roman f (DESCRIPTION) 970 1860 w 10 /LucidaSansUnicode22 f (\031) 720 2016 w 10 /Times-Roman f (OPTIONS) 970 2016 w 10 /LucidaSansUnicode22 f (\031) 720 2172 w 10 /Times-Roman f (SEE ALSO) 970 2172 w 10 /LucidaSansUnicode22 f (\031) 720 2328 w 10 /Times-Roman f (AUTHOR) 970 2328 w cleartomark showpage saveobj restore %%EndPage: 2 2 %%Trailer done %%DocumentFonts: Times-Roman LucidaSansUnicode22 Times-Italic Times-Bold S1 S %%Pages: 2