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