3 % Put a stamp onto upper left corner of the page.
6 % Revision 1.1 2003/05/22 16:05:12 sacerdot
7 % ed and draftstamp packages committed and activated
9 % Revision 1.1 2002/10/21 14:41:51 kohlhase
10 % more restructuring of definitions
12 % Revision 1.1 1999/04/28 16:23:03 kohlhase
15 % Revision 1.1 1998/09/29 07:32:03 kohlhase
16 % *** empty log message ***
18 % Revision 1.1 1998/01/05 10:53:58 mmueller
21 % Revision 1.1 1997/03/18 18:14:22 tmueller
22 % starting ilps version of cpi paper
24 % Revision 1.1 91/02/17 01:51:12 schwarze
29 /mm { inch 25.4 div } def
31 /StampText (Draft) def
32 %/StampDate (12.01.91) def
35 /StampFont /Helvetica-Bold findfont StampSize scalefont def
37 /DateFont /Helvetica-Bold findfont DateSize scalefont def
41 %/PaperHeight 297 mm def
42 /PaperHeight 280 mm def
45 /Randomize { rand 2147483647 div .6 mul .7 add mul cvi } def
50 /TheAngle Angle Randomize def
51 /TheLMargin LMargin Randomize def
52 /TheTMargin TMargin Randomize def
55 /StampWidth StampText stringwidth pop def
57 TheLMargin StampSize TheAngle sin mul add % x
58 PaperHeight TheTMargin sub StampWidth TheAngle sin mul sub
59 StampSize TheAngle cos mul sub % y
64 0 0 moveto StampText show
66 userdict /StampDate known {
68 StampDate stringwidth pop
69 StampWidth exch sub 2 div DateSize -1.2 mul moveto
73 StampWidth 2 div dup StampSize 0.2 mul translate
75 1.35 mul dup StampSize 1.35 mul scale
76 newpath 1 exch div setlinewidth 0 0 1 0 360 arc stroke