1 2% included prolog for enscript files 3% last edit: shore Sat Nov 9 13:28:41 1985 4% Copyright (c) 1983, 1984 Adobe Systems Incorporated 5% RCSID: $Header: enscript.pro,v 1.5 89/03/10 00:45:30 van Exp $ 6save/EnscriptJob exch def 7/StartEnscriptDoc{$enscript begin}def 8/$enscript 50 dict def $enscript begin 9/EndEnscriptDoc{end}def 10/S/show load def 11/X{exch 0 rmoveto S}def 12/Y{exch 0 exch rmoveto S}def 13/B{3 1 roll moveto S}def 14/F{$fd exch get setfont}def 15/StartPage{/svpg save def .05 dup scale}def 16/EndPage{svpg restore showpage}def 17/DoPreFeed{/statusdict where{pop 18 statusdict/prefeed known{statusdict exch/prefeed exch put 0}if}if pop}def 19/Landscape{90 rotate 0 -15840 translate}def 20/SetUpFonts 21 {dup/$fd exch array def{findfont exch scalefont $fd 3 1 roll put}repeat}def 22/InitGaudy{/TwoColumn exch def /BarLength exch def}def 23/U{1440 mul}def 24/UP{U 72 div}def 25/LB{/pts exch UP def /charcolor exch def /boxcolor exch def /font exch def 26 /label exch def /dy exch def /dx exch def /lly exch def /llx exch def 27 gsave boxcolor setgray 28 llx lly moveto dx 0 rlineto 0 dy rlineto dx neg 0 rlineto closepath fill 29 /lines label length def 30 /yp lly dy add dy lines pts mul sub 2 div sub pts .85 mul sub def 31 font setfont charcolor setgray 32 label {dup stringwidth pop 2 div llx dx 2 div add exch sub yp moveto show 33 /yp yp pts sub def}forall grestore}def 34/Gaudy{/Page exch def /Date exch def /File exch def /Comment exch def 35 .25 U 10.2 U BarLength .1 sub U .25 U [File] $fd 2 get .97 0 14 LB 36 .25 U 10.45 U BarLength .1 sub U .25 U [Comment] $fd 1 get 1 0 14 LB 37 .25 U 10.2 U .75 U .5 U Date $fd 3 get .97 0 12 LB 38 BarLength .5 sub U 10.2 U .75 U .5 U [Page] $fd 4 get .97 1 30 LB 39 TwoColumn{BarLength 2 div .19 add U 10.2 U moveto 0 -10 U rlineto stroke}if 40}def 41end 42