| 1 |
% |
| 2 |
% This file is an example of a header file for dvips. It prints a page |
| 3 |
% (or a whole document) as a 3x3 poster. This file is built so it can |
| 4 |
% be used both as the header file for PostScript and as the configuration |
| 5 |
% file for dvips. First comes the PostScript part. (Note that dvips |
| 6 |
% ignores any lines beginning with a space.) Change the number here. |
| 7 |
% Use it with -P post3x3. We try to overlap pages a bit. |
| 8 |
% |
| 9 |
/xpost 3 def /ypost 3 def |
| 10 |
userdict begin /bop-hook { |
| 11 |
36 36 translate |
| 12 |
dup xpost ypost mul mod |
| 13 |
dup xpost mod hsize 36 xpost 1 sub mul sub mul neg exch |
| 14 |
xpost idiv vsize 36 ypost 1 sub mul sub mul neg translate % translate! |
| 15 |
xpost ypost scale % scale! |
| 16 |
-36 -36 translate |
| 17 |
} def end |
| 18 |
{ % we start a procedure so PostScript `ignores' the dvips options. |
| 19 |
% |
| 20 |
% Now the dvips options. Change the number here too, to be |
| 21 |
% xpost * ypost. |
| 22 |
% |
| 23 |
b 9 |
| 24 |
h config.post3x3 |
| 25 |
% |
| 26 |
% Now PostScript cleanup. |
| 27 |
% |
| 28 |
} pop |