summaryrefslogtreecommitdiff
path: root/Master/texmf/dvips/config/config.ps
blob: d3d165e851bcb2348159149e9ab35e5cfa3e2227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
% teTeX's config.ps. Thomas Esser, 1998, public domain.

% Memory available. Download the three-line PostScript file:
%   %! Hey, we're PostScript
%   /Times-Roman findfont 30 scalefont setfont 144 432 moveto
%   vmstatus exch sub 40 string cvs show pop showpage
% to determine this number. (It will be the only thing printed.)
m 3500000

% Run securely.  z2 disables both shell command execution in
% `\special' and config files (via the `E' option) and opening of any
% absolute filenames.  z1, the default, forbids shell escapes but
% allows absolute filenames.  z0 allows both.  The corresponding
% commandline options are -R0|-R1|-R2
z1

% How to print, maybe with lp instead lpr, etc. If commented-out, output
% will go into a file by default.
%o |lpr

% Default resolution of this device, in dots per inch.
D 600
X 600
Y 600

% Metafont mode.  (This is completely different from the -M
% command-line option, which controls whether mktexpk is invoked.)
% See ../../metafont/misc/modes.mf for a list of mode names.  This mode
% and the D number above must agree, or mktexpk will get confused.
M ljfour

% Last resort bitmap sizes.
R 300 600

% Correct printer offset. You can use testpage.tex from the LaTeX
% distribution to find these numbers.
O 0pt,0pt

% Bitmap font compression. Results in more compact output files, but
% sometimes causes trouble. So the default is disabled. Set Z1 to enable
% this feature.
Z0

% Partially download Type 1 fonts by default.  Only reason not to do
% this is if you encounter bugs.  (Please report them to
% @email{tex-k@@mail.tug.org} if you do.)
j

% This shows how to add your own map file.
% Remove the comment and adjust the name:
% p +myfonts.map

% 0 0 595 842 is the right bounding box that most applications expect
% for A4.  Since dvips always rounds up, choose something slightly smaller.

@ A4size 594.99bp 841.99bp
@+ ! %%DocumentPaperSizes: a4
@+ %%PaperSize: A4

@ letterSize 8.5in 11in
@+ ! %%DocumentPaperSizes: Letter

@ letter 8.5in 11in
@+ ! %%DocumentPaperSizes: Letter
@+ %%BeginPaperSize: Letter
@+ letter
@+ %%EndPaperSize

% for powerdot
@ screen 8.25in 11in
@+ ! %%DocumentPaperSizes: Screen
@+ %%BeginPaperSize: Screen
@+ << /PageSize [594 792] >> setpagedevice
@+ %%EndPaperSize

@ legal 8.5in 14in
@+ ! %%DocumentPaperSizes: Legal
@+ %%BeginPaperSize: Legal
@+ legal
@+ %%EndPaperSize

@ ledger 17in 11in
@+ ! %%DocumentPaperSizes: Ledger
@+ %%BeginPaperSize: Ledger
@+ ledger
@+ %%EndPaperSize

@ tabloid 11in 17in
@+ ! %%DocumentPaperSizes: Tabloid
@+ %%BeginPaperSize: Tabloid
@+ 11x17
@+ %%EndPaperSize

@ a6 105mm 148mm
@+ ! %%DocumentPaperSizes: a6
@+ %%BeginPaperSize: a6
@+ a6
@+ %%EndPaperSize

@ a5 148mm 210mm
@+ ! %%DocumentPaperSizes: a5
@+ %%BeginPaperSize: a5
@+ a5
@+ %%EndPaperSize

@ a4 594.99bp 841.99bp
@+ ! %%DocumentPaperSizes: a4
@+ %%BeginPaperSize: a4
@+ a4
@+ %%EndPaperSize

@ a3 297mm 420mm
@+ ! %%DocumentPaperSizes: a3
@+ %%BeginPaperSize: a3
@+ a3
@+ %%EndPaperSize

@ a2 420mm 595mm
@+ ! %%DocumentPaperSizes: a2
@+ %%BeginPaperSize: a2
@+ a2
@+ %%EndPaperSize

@ a1 595mm 841mm
@+ ! %%DocumentPaperSizes: a1
@+ %%BeginPaperSize: a1
@+ a1
@+ %%EndPaperSize

@ a0 841mm 1189mm
@+ ! %%DocumentPaperSizes: a0
@+ %%BeginPaperSize: a0
@+ a0
@+ %%EndPaperSize

@ b6 125mm 176mm
@+ ! %%DocumentPaperSizes: b6
@+ %%BeginPaperSize: b6
@+ b6
@+ %%EndPaperSize

@ b5 176mm 250mm
@+ ! %%DocumentPaperSizes: b5
@+ %%BeginPaperSize: b5
@+ b5
@+ %%EndPaperSize

@ b4 250mm 353mm
@+ ! %%DocumentPaperSizes: b4
@+ %%BeginPaperSize: b4
@+ b4
@+ %%EndPaperSize

@ b3 353mm 500mm
@+ ! %%DocumentPaperSizes: b3
@+ %%BeginPaperSize: b3
@+ b3
@+ %%EndPaperSize

@ jisb0 1030mm 1456mm
@+ ! %%DocumentPaperSizes: jisb0
@+ %%BeginPaperSize: jisb0
@+ jisb0
@+ %%EndPaperSize

@ jisb1 728mm 1030mm
@+ ! %%DocumentPaperSizes: jisb1
@+ %%BeginPaperSize: jisb1
@+ jisb1
@+ %%EndPaperSize

@ jisb2 515mm 728mm
@+ ! %%DocumentPaperSizes: jisb2
@+ %%BeginPaperSize: jisb2
@+ jisb2
@+ %%EndPaperSize

@ jisb3 364mm 515mm
@+ ! %%DocumentPaperSizes: jisb3
@+ %%BeginPaperSize: jisb3
@+ jisb3
@+ %%EndPaperSize

@ jisb4 257mm 364mm
@+ ! %%DocumentPaperSizes: jisb4
@+ %%BeginPaperSize: jisb4
@+ jisb4
@+ %%EndPaperSize

@ jisb5 182mm 257mm
@+ ! %%DocumentPaperSizes: jisb5
@+ %%BeginPaperSize: jisb5
@+ jisb5
@+ %%EndPaperSize

@ jisb6 128mm 182mm
@+ ! %%DocumentPaperSizes: jisb6
@+ %%BeginPaperSize: jisb6
@+ jisb6
@+ %%EndPaperSize

% not defined in Ghostscript, per Akira.
% @ jisb7 91mm 128mm
% @+ ! %%DocumentPaperSizes: jisb7
% @+ %%BeginPaperSize: jisb7
% @+ jisb7
% @+ %%EndPaperSize
%
% @ jisb8 64mm 91mm
% @+ ! %%DocumentPaperSizes: jisb8
% @+ %%BeginPaperSize: jisb8
% @+ jisb8
% @+ %%EndPaperSize

@ unknown 0in 0in
@+ statusdict /setpageparams known { hsize vsize 0 1 statusdict begin {
@+ setpageparams } stopped end } { true } ifelse { statusdict /setpage known
@+ { hsize vsize 1 statusdict begin { setpage } stopped pop end } if } if