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 2.1 85/11/24 12:19:23 shore Rel $
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
23 /ftD /Times-Bold findfont 12 UP scalefont def
24 /ftF /Times-Roman findfont 14 UP scalefont def
25 /ftP /Helvetica-Bold findfont 30 UP scalefont def}def
26/U{1440 mul}def
27/UP{U 72 div}def
28/LB{/pts exch UP def /charcolor exch def /boxcolor exch def /font exch def
29 /label exch def /dy exch def /dx exch def /lly exch def /llx exch def
30 gsave boxcolor setgray
31 llx lly moveto dx 0 rlineto 0 dy rlineto dx neg 0 rlineto closepath fill
32 /lines label length def
33 /yp lly dy add dy lines pts mul sub 2 div sub pts .85 mul sub def
34 font setfont charcolor setgray
35 label {dup stringwidth pop 2 div llx dx 2 div add exch sub yp moveto show
36   /yp yp pts sub def}forall grestore}def
37/Gaudy{/Page exch def /Date exch def /File exch def /Comment exch def
38 .25 U 10.2 U BarLength .1 sub U .25 U [File] ftF .97 0 14 LB
39 .25 U 10.45 U BarLength .1 sub U .25 U [Comment] ftF 1 0 14 LB
40 .25 U 10.2 U 1 U .5 U Date ftD .7 0 12 LB
41 BarLength .75 sub U 10.2 U 1 U .5 U [Page] ftP .7 1 30 LB
42 TwoColumn{BarLength 2 div .19 add U 10.2 U moveto 0 -10 U rlineto stroke}if
43}def
44end
45