line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PDF::Builder::Resource::PaperSizes; |
2
|
|
|
|
|
|
|
|
3
|
38
|
|
|
38
|
|
283
|
use strict; |
|
38
|
|
|
|
|
79
|
|
|
38
|
|
|
|
|
1206
|
|
4
|
38
|
|
|
38
|
|
209
|
use warnings; |
|
38
|
|
|
|
|
74
|
|
|
38
|
|
|
|
|
13462
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '3.024'; # VERSION |
7
|
|
|
|
|
|
|
our $LAST_UPDATE = '3.024'; # manually update whenever code is changed |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
PDF::Builder::Resource::PaperSizes - list of standard paper sizes and their dimensions |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head2 Information and Usage |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
This is a list of standard page (media) sizes by I (e.g., 'A4' or |
16
|
|
|
|
|
|
|
'Legal'), given by width and height in Big Points (72 per inch). See the code |
17
|
|
|
|
|
|
|
in PaperSizes.pm for the actual entries. You do B have to use these names; |
18
|
|
|
|
|
|
|
they are merely provided as convenient shortcuts. You can always specify the |
19
|
|
|
|
|
|
|
desired dimensions (in points) yourself. |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
The PDF specification (and PDF readers) default to US Letter size (portrait |
22
|
|
|
|
|
|
|
orientation, 8.5 inches wide by 11 inches high). If you want to use anything |
23
|
|
|
|
|
|
|
else, you will have to make a C call to specify the media (paper) |
24
|
|
|
|
|
|
|
size. For named sizes, capitalization doesn't matter (all entries are folded |
25
|
|
|
|
|
|
|
to lower case, so 'A4' and 'a4' work the same). |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Different sources give somewhat different paper dimensions, especially for |
28
|
|
|
|
|
|
|
archaic or unusual sizes, so take care and measure your actual paper before |
29
|
|
|
|
|
|
|
printing, so you can avoid wasting paper and time printing to the wrong |
30
|
|
|
|
|
|
|
mediabox! Also keep in mind that many printers cannot print all the way to the |
31
|
|
|
|
|
|
|
edge (don't want to get ink or toner on the paper rollers), so set your margins |
32
|
|
|
|
|
|
|
accordingly. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head2 Available named media sizes, and size |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
You can certainly edit this module to add more named sizes, if you wish to. |
37
|
|
|
|
|
|
|
Or, you can directly give the desired size in Points, in a "box" method. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
B Before using one of the larger sizes, check if your PDF reader |
40
|
|
|
|
|
|
|
and/or printer will be able to handle it. The official PDF definition only |
41
|
|
|
|
|
|
|
allows up to 200 inches square (14400 Points square), requiring the use of |
42
|
|
|
|
|
|
|
User Units to handle larger media. Many non-Adobe systems ignore this |
43
|
|
|
|
|
|
|
limitation and support much larger sizes, but you should check before doing a |
44
|
|
|
|
|
|
|
lot of work! |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head3 Metric sizes |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=over |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
4a0 -- 4760 x 6716 (1679 mm x 2639 mm) |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
2a0 -- 3368 x 4760 (1188 mm x 1679 mm) |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
a0 -- 2380 x 3368 (840 mm x 1188 mm) |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
a1 -- 1684 x 2380 (594 mm x 840 mm) |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
a2 -- 1190 x 1684 (420 mm x 594 mm) |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
a3 -- 842 x 1190 (297 mm x 420 mm) |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
a4 -- 595 x 842 (210 mm x 297 mm) |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
a5 -- 421 x 595 (149 mm x 210 mm) |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
a6 -- 297 x 421 (105 mm x 149 mm) |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
a7 -- 210 x 297 (74 mm x 105 mm) |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
a8 -- 147 x 210 (52 mm x 74 mm) |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
a9 -- 105 x 147 (37 mm x 52 mm) |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
a10 -- 74 x 105 (26 mm x 37 mm) |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
4b0 -- 5656 x 8000 (1995 mm x 2822 mm) |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
2b0 -- 4000 x 5656 (1411 mm x 1995 mm) |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
b0 -- 2828 x 4000 (998 mm x 1411 mm) |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
b1 -- 2000 x 2828 (706 mm x 998 mm) |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
b2 -- 1414 x 2000 (499 mm x 706 mm) |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
b3 -- 1000 x 1414 (353 mm x 499 mm) |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
b4 -- 707 x 1000 (249 mm x 353 mm) |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
b5 -- 500 x 707 (176 mm x 249 mm) |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
b6 -- 353 x 500 (125 mm x 176 mm) |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
b7 -- 250 x 353 (88 mm x 125 mm) |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
b8 -- 176 x 250 (62 mm x 88 mm) |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
b9 -- 125 x 176 (44 mm x 62 mm) |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
b10 -- 88 x 125 (31 mm x 44 mm) |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
c0 -- 2600 x 3677 (917 mm x 1297 mm) Envelope sizes |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
c1 -- 1837 x 2600 (648 mm x 917 mm) |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
c2 -- 1298 x 1837 (458 mm x 648 mm) |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
c3 -- 918 x 1298 (324 mm x 458 mm) |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
c4 -- 649 x 918 (229 mm x 324 mm) |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
c5 -- 459 x 649 (162 mm x 229 mm) |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
c6 -- 323 x 459 (114 mm x 162 mm) |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
c7 -- 230 x 323 (81 mm x 114 mm) |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
c8 -- 162 x 230 (57 mm x 81 mm) |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
c9 -- 113 x 162 (40 mm x 57 mm) |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
c10 -- 79 x 113 (28 mm x 40 mm) |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
jis-b5 -- 516 x 729 (182 mm x 257 mm) |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
folio -- 595 x 935 (210 mm x 330 mm) |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
chinese-16k -- 524 x 737 (185 mm x 260 mm) |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
chinese-32k -- 369 x 524 (130 mm x 185 mm) |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
16k -- 553 x 765 (195 mm x 270 mm) |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
jp-postcard -- 283 x 420 (100 mm x 148 mm) |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
dbl-postcard -- 420 x 567 (148 mm x 200 mm) |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
env-c5 -- 459 x 649 (162 mm x 229 mm) |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
env-dl -- 312 x 624 (110 mm x 220 mm) |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
env-c6 -- 323 x 459 (114 mm x 162 mm) |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
env-cho-3 -- 340 x 666 (120 mm x 235 mm) |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
env-cho-4 -- 255 x 581 (90 mm x 205 mm) |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
p1 -- 1587 x 2438 (560 mm x 860 mm) Canadian correspondence |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
p2 -- 1219 x 1587 (430 mm x 560 mm) |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
p3 -- 794 x 1219 (280 mm x 430 mm) |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
p4 -- 609 x 794 (215 mm x 280 mm) |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
p5 -- 397 x 609 (140 mm x 215 mm) |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
p6 -- 303 x 397 (107 mm x 140 mm) |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=back |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head3 Mixed sizes |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=over |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
universal -- 595 x 792 (210 mm x 11 in) |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
This is not a standard or official size, but a PDF::Builder size, which should |
169
|
|
|
|
|
|
|
print OK on either A4 or US Letter paper size. It is narrow (like A4) and short |
170
|
|
|
|
|
|
|
(like letter). |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=back |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=head3 US/British (non-metric) sizes |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=over |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
broadsheet -- 1296 x 1584 (18 in x 22 in) sometimes 1224 x 1584! |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
executive -- 522 x 756 (7.25 in x 10.5 in) |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
foolscap -- 576 x 936 (8 in x 13 in) sometimes 360 x 486! |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
gov-legal -- 612 x 936 (8.5 in x 13 in) |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
gov-letter -- 576 x 756 (8 in x 10.5 in) |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
jr-legal -- 360 x 576 (5 in x 8 in) |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
ledger -- 1224 x 792 (17 in x 11 in) |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
legal -- 612 x 1008 (8.5 in x 14 in) |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
letter -- 612 x 792 (8.5 in x 11 in) |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
letter-plus -- 612 x 914 (8.5 in x 12.7 in) |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
quarto -- 576 x 720 (8 in x 10 in) |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
student -- 396 x 612 (5.5 in x 8.5 in) a.k.a. statement, half-letter |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
tabloid -- 792 x 1224 (11 in x 17 in) ledger rotated (portrait mode) |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
36x36 -- 2592 x 2592 (36 in x 36 in) |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
dbill -- 216 x 504 (3 in x 7 in) |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
old-paper -- 648 x 864 (9 in x 12 in) |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
env-10 -- 297 x 684 (4.125 in x 9.5 in) |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
env-monarch -- 279 x 540 (3.875 in x 7.5 in) |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
a -- 612 x 791 (8.5 in x 11 in) ANSI technical drawing paper |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
b -- 791 x 1225 (11 in x 17 in) |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
c -- 1225 x 1585 (17 in x 22 in) |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
d -- 1585 x 2449 (22 in x 34 in) |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
e -- 2449 x 3169 (34 in x 44 in) |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
f -- 2016 x 2880 (28 in x 40 in) |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
b-plus -- 936 x 1368 (13 in x 19 in) a.k.a. super-B, A3+, super-A3 |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
arch-a -- 648 x 864 (9 in x 12 in) |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
arch-b -- 864 x 1296 (12 in x 18 in) |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
arch-c -- 1296 x 1728 (18 in x 24 in) |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
arch-d -- 1728 x 2592 (24 in x 36 in) |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
arch-e -- 2592 x 3456 (36 in x 48 in) |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
arch-e1 -- 2160 x 3024 (30 in x 42 in) |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
pott -- 288 x 450 (3.9 in x 6.25 in) British sizes |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
post -- 360 x 576 (5 in x 8 in) |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
large-post -- 378 x 594 (5.25 in x 8.25 in) |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
crown -- 360 x 540 (5 in x 7.5 in) |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
large-crown -- 378 x 576 (5.25 in x 8 in) |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
demy -- 409 x 630 (5.68 in x 8.75 in) |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
small-demy -- 409 x 612 (5.68 in x 8.5 in) |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
medium -- 414 x 648 (5.75 in x 9 in) |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
royal -- 450 x 720 (6.25 in x 10 in) |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
small-royal -- 445 x 666 (6.18 in x 9.25 in) |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
super-royal -- 486 x 738 (6.75 in x 10.25 in) |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
imperial -- 540 x 792 (7.5 in x 11 in) |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
=back |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
=cut |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
# see sites such as https://www.papersizes.org/ for all the paper size |
269
|
|
|
|
|
|
|
# information you would ever want to know |
270
|
|
|
|
|
|
|
# http://tug.ctan.org/macros/latex/contrib/memoir/memman.pdf pg 39 |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
sub get_paper_sizes { |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
# dimensions are Width and Height in Big Points. divide by 72 to get |
275
|
|
|
|
|
|
|
# inches, or divide by 2.83 (72/25.4) to get mm. use page and coordinate |
276
|
|
|
|
|
|
|
# rotations to rotate into landscape mode and vice-versa. |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
return ( |
279
|
|
|
|
|
|
|
# Metric sizes |
280
|
|
|
|
|
|
|
# non-standard names 4a, 2a, 4b, 2b have been removed |
281
|
|
|
|
|
|
|
# (use standard 4a0, 2a0, 4b0, 2b0 instead) |
282
|
42
|
|
|
42
|
0
|
3267
|
'4a0' => [ 4760, 6716 ], |
283
|
|
|
|
|
|
|
'2a0' => [ 3368, 4760 ], |
284
|
|
|
|
|
|
|
'a0' => [ 2380, 3368 ], |
285
|
|
|
|
|
|
|
'a1' => [ 1684, 2380 ], |
286
|
|
|
|
|
|
|
'a2' => [ 1190, 1684 ], |
287
|
|
|
|
|
|
|
'a3' => [ 842, 1190 ], |
288
|
|
|
|
|
|
|
'a4' => [ 595, 842 ], |
289
|
|
|
|
|
|
|
'a5' => [ 421, 595 ], |
290
|
|
|
|
|
|
|
'a6' => [ 297, 421 ], |
291
|
|
|
|
|
|
|
'a7' => [ 210, 297 ], |
292
|
|
|
|
|
|
|
'a8' => [ 147, 210 ], |
293
|
|
|
|
|
|
|
'a9' => [ 105, 147 ], |
294
|
|
|
|
|
|
|
'a10' => [ 74, 105 ], |
295
|
|
|
|
|
|
|
'4b0' => [ 5656, 8000 ], |
296
|
|
|
|
|
|
|
'2b0' => [ 4000, 5656 ], |
297
|
|
|
|
|
|
|
'b0' => [ 2828, 4000 ], |
298
|
|
|
|
|
|
|
'b1' => [ 2000, 2828 ], |
299
|
|
|
|
|
|
|
'b2' => [ 1414, 2000 ], |
300
|
|
|
|
|
|
|
'b3' => [ 1000, 1414 ], |
301
|
|
|
|
|
|
|
'b4' => [ 707, 1000 ], |
302
|
|
|
|
|
|
|
'b5' => [ 500, 707 ], |
303
|
|
|
|
|
|
|
'b6' => [ 353, 500 ], |
304
|
|
|
|
|
|
|
'b7' => [ 250, 353 ], |
305
|
|
|
|
|
|
|
'b8' => [ 176, 250 ], |
306
|
|
|
|
|
|
|
'b9' => [ 125, 176 ], |
307
|
|
|
|
|
|
|
'b10' => [ 88, 125 ], |
308
|
|
|
|
|
|
|
'c0' => [ 2600, 3677 ], # C series envelopes |
309
|
|
|
|
|
|
|
'c1' => [ 1837, 2600 ], |
310
|
|
|
|
|
|
|
'c2' => [ 1298, 1837 ], |
311
|
|
|
|
|
|
|
'c3' => [ 918, 1298 ], |
312
|
|
|
|
|
|
|
'c4' => [ 649, 918 ], |
313
|
|
|
|
|
|
|
'c5' => [ 459, 649 ], |
314
|
|
|
|
|
|
|
'c6' => [ 323, 459 ], |
315
|
|
|
|
|
|
|
'c7' => [ 230, 323 ], |
316
|
|
|
|
|
|
|
'c8' => [ 162, 230 ], |
317
|
|
|
|
|
|
|
'c9' => [ 113, 162 ], |
318
|
|
|
|
|
|
|
'c10' => [ 79, 113 ], |
319
|
|
|
|
|
|
|
'jis-b5' => [ 516, 729 ], |
320
|
|
|
|
|
|
|
'folio' => [ 595, 935 ], |
321
|
|
|
|
|
|
|
'chinese-16k' => [ 524, 737 ], |
322
|
|
|
|
|
|
|
'chinese-32k' => [ 369, 524 ], |
323
|
|
|
|
|
|
|
'16k' => [ 553, 765 ], |
324
|
|
|
|
|
|
|
'jp-postcard' => [ 283, 420 ], |
325
|
|
|
|
|
|
|
'dbl-postcard' => [ 420, 567 ], |
326
|
|
|
|
|
|
|
'env-c5' => [ 459, 649 ], |
327
|
|
|
|
|
|
|
'env-dl' => [ 312, 624 ], |
328
|
|
|
|
|
|
|
'env-c6' => [ 323, 459 ], |
329
|
|
|
|
|
|
|
'env-cho-3' => [ 340, 666 ], |
330
|
|
|
|
|
|
|
'env-cho-4' => [ 255, 581 ], |
331
|
|
|
|
|
|
|
'p1' => [ 1587, 2438 ], # Canadian correspondence sizes |
332
|
|
|
|
|
|
|
'p2' => [ 1219, 1587 ], |
333
|
|
|
|
|
|
|
'p3' => [ 794, 1219 ], |
334
|
|
|
|
|
|
|
'p4' => [ 609, 794 ], |
335
|
|
|
|
|
|
|
'p5' => [ 397, 609 ], |
336
|
|
|
|
|
|
|
'p6' => [ 303, 397 ], |
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
# mixed |
339
|
|
|
|
|
|
|
'universal' => [ 595, 792 ], # smaller of A4 and US Letter, |
340
|
|
|
|
|
|
|
# will print on either paper size |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
# US sizes |
343
|
|
|
|
|
|
|
'broadsheet' => [ 1296, 1584 ], # varies, sometimes 1224 x 1584 |
344
|
|
|
|
|
|
|
'executive' => [ 522, 756 ], |
345
|
|
|
|
|
|
|
'foolscap' => [ 576, 936 ], # also listed as 360x486 |
346
|
|
|
|
|
|
|
'gov-legal' => [ 612, 936 ], |
347
|
|
|
|
|
|
|
'gov-letter' => [ 576, 756 ], |
348
|
|
|
|
|
|
|
'jr-legal' => [ 360, 576 ], |
349
|
|
|
|
|
|
|
'ledger' => [ 1224, 792 ], # = tabloid in landscape orientation |
350
|
|
|
|
|
|
|
'legal' => [ 612, 1008 ], |
351
|
|
|
|
|
|
|
'letter' => [ 612, 792 ], |
352
|
|
|
|
|
|
|
'letter-plus' => [ 612, 914 ], |
353
|
|
|
|
|
|
|
'quarto' => [ 576, 720 ], |
354
|
|
|
|
|
|
|
'student' => [ 396, 612 ], |
355
|
|
|
|
|
|
|
'tabloid' => [ 792, 1224 ], |
356
|
|
|
|
|
|
|
'36x36' => [ 2592, 2592 ], |
357
|
|
|
|
|
|
|
'dbill' => [ 216, 504 ], |
358
|
|
|
|
|
|
|
'statement' => [ 396, 612 ], # = student |
359
|
|
|
|
|
|
|
'old-paper' => [ 648, 864 ], |
360
|
|
|
|
|
|
|
'half-letter' => [ 396, 612 ], # = student |
361
|
|
|
|
|
|
|
'env-10' => [ 297, 684 ], |
362
|
|
|
|
|
|
|
'env-monarch' => [ 279, 540 ], |
363
|
|
|
|
|
|
|
'a' => [ 612, 791 ], # ANSI technical drawing paper |
364
|
|
|
|
|
|
|
'b' => [ 791, 1225 ], |
365
|
|
|
|
|
|
|
'c' => [ 1225, 1585 ], |
366
|
|
|
|
|
|
|
'd' => [ 1585, 2449 ], |
367
|
|
|
|
|
|
|
'e' => [ 2449, 3169 ], |
368
|
|
|
|
|
|
|
'f' => [ 2016, 2880 ], |
369
|
|
|
|
|
|
|
'b-plus' => [ 936, 1368 ], # aka super-B, A3+, super-A3 |
370
|
|
|
|
|
|
|
'arch-a' => [ 648, 864 ], |
371
|
|
|
|
|
|
|
'arch-b' => [ 864, 1296 ], |
372
|
|
|
|
|
|
|
'arch-c' => [ 1296, 1728 ], |
373
|
|
|
|
|
|
|
'arch-d' => [ 1728, 2592 ], |
374
|
|
|
|
|
|
|
'arch-e' => [ 2592, 3456 ], |
375
|
|
|
|
|
|
|
'arch-e1' => [ 2160, 3024 ], |
376
|
|
|
|
|
|
|
'pott' => [ 288, 450 ], # British sizes |
377
|
|
|
|
|
|
|
'post' => [ 360, 576 ], |
378
|
|
|
|
|
|
|
'large-post' => [ 378, 594 ], |
379
|
|
|
|
|
|
|
'crown' => [ 360, 540 ], |
380
|
|
|
|
|
|
|
'large-crown' => [ 378, 576 ], |
381
|
|
|
|
|
|
|
'demy' => [ 409, 630 ], |
382
|
|
|
|
|
|
|
'small-demy' => [ 409, 612 ], |
383
|
|
|
|
|
|
|
'medium' => [ 414, 648 ], |
384
|
|
|
|
|
|
|
'royal' => [ 450, 720 ], |
385
|
|
|
|
|
|
|
'small-royal' => [ 445, 666 ], |
386
|
|
|
|
|
|
|
'super-royal' => [ 486, 738 ], |
387
|
|
|
|
|
|
|
'imperial' => [ 540, 792 ], |
388
|
|
|
|
|
|
|
); |
389
|
|
|
|
|
|
|
} |
390
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
1; |