Debian Codegraph @

texk/dvipsk/contrib/configs/config.lino

raw
1 *
2 * This configuration file is a sample one for a typesetter. See the
3 * end of the file especially, where we use setpageparams. With a
4 * configuration file like this, you can use
5 *
6 * -t film0 -k -T 11in,17in
7 *
8 * for instance to print an 11x17 inch document in orientation 0 with
9 * crop marks.
10 *
11 * Assume we have a nice modern lino with lots of memory.
12 *
13 m 1000000
14 *
15 * And send output by default to a PostScript file.
16 *
17 o
18 *
19 * Default resolution. We must get this right!
20 *
21 D 1270
22 *
23 * Compress the fonts.
24 *
25 Z
26 *
27 * Paper size information. First definition is the default.
28 *
29 * If your default is a4 uncomment the following definition
30 * and comment out the letterSize definition.
31 *
32 *@ a4size 210mm 297mm
33 *@+ %%PaperSize: a4
34
35 @ letterSize 8.5in 11in
36 @+ %%PaperSize: Letter
37
38 @ letter 8.5in 11in
39 @+ %%BeginPaperSize: Letter
40 @+ letter
41 @+ %%EndPaperSize
42
43 @ legal 8.5in 14in
44 @+ ! %%DocumentPaperSizes: Legal
45 @+ %%BeginPaperSize: Legal
46 @+ legal
47 @+ %%EndPaperSize
48
49 @ ledger 17in 11in
50 @+ ! %%DocumentPaperSizes: Ledger
51 @+ %%BeginPaperSize: Ledger
52 @+ ledger
53 @+ %%EndPaperSize
54
55 @ tabloid 11in 17in
56 @+ ! %%DocumentPaperSizes: Tabloid
57 @+ %%BeginPaperSize: Tabloid
58 @+ 11x17
59 @+ %%EndPaperSize
60
61 @ a4 210mm 297mm
62 @+ ! %%DocumentPaperSizes: a4
63 @+ %%BeginPaperSize: a4
64 @+ a4
65 @+ %%EndPaperSize
66
67 @ a3 297mm 420mm
68 @+ ! %%DocumentPaperSizes: a3
69 @+ %%BeginPaperSize: a3
70 @+ a3
71 @+ %%EndPaperSize
72 *
73 * These last two are only for typesetters that can set the page size;
74 * uncomment and put them in a `config.lino', for instance.
75 *
76 * Use this for pages where you want the text to run in the same direction
77 * as the film feeds (slow scan direction; down the length of the film.)
78 * Best for everything *but* pages higher than the film is wide or pages
79 * wider than they are tall; needed for pages wider than the film is wide.
80 *
81 @ film0 0in 0in
82 @+ statusdict /setpageparams known { vsize hsize 0 0 statusdict begin {
83 @+ setpageparams } stopped end } { true } ifelse { statusdict /setpage known
84 @+ { vsize hsize 0 statusdict begin { setpage } stopped pop end } if } if
85 *
86 * Use this for pages where you want the text to run across the width of
87 * the film (fast scan direction.) Needed for pages taller than the film
88 * is wide; preferred for pages wider than they are tall.
89 *
90 @ film1 0in 0in
91 @+ statusdict /setpageparams known { hsize vsize 0 1 statusdict begin {
92 @+ setpageparams } stopped end } { true } ifelse { statusdict /setpage known
93 @+ { hsize vsize 1 statusdict begin { setpage } stopped pop end } if } if