Control Reference > VSPrinter Control > VSPrinter Properties > PaperSize Property |
Returns or sets a standard paper size.
[form!]VSPrinter.PaperSize[ = PaperSizeSettings ]
The settings for the PaperSize property are described below:
Constant |
Value |
Description |
pprLetter |
1 |
Letter, 8½ x 11 in. |
pprLetterSmall |
2 |
Letter Small, 8½ x 11 in. |
pprTabloid |
3 |
Tabloid, 11 x 17 in. |
pprLedger |
4 |
Ledger, 17 x 11 in. |
pprLegal |
5 |
Legal, 8 ½ x 14 in. |
pprStatement |
6 |
Statement, 5 1/2 x 8 1/2 in. |
pprExecutive |
7 |
Executive, 7 1/2 x 10 1/2 in. |
pprA3 |
8 |
A3, 297 x 420 mm |
pprA4 |
9 |
A4, 210 x 297 mm |
pprA4Small |
10 |
A4 Small, 210 x 297 mm |
pprA5 |
11 |
A5, 148 x 210 mm |
pprB4 |
12 |
B4, 250 x 354 mm |
pprB5 |
13 |
B5, 182 x 257 mm |
pprFolio |
14 |
Folio, 8 ½ x 13 in. |
pprQuarto |
15 |
Quarto, 215 x 275 mm |
ppr10x14 |
16 |
10 x 14 in. |
ppr11x17 |
17 |
11 x 17 in. |
pprNote |
18 |
Note, 8 ½ x 11 in. |
pprEnv9 |
19 |
Envelope #9, 3 7/8 x 8 7/8 in. |
pprEnv10 |
20 |
Envelope #10, 4 1/8 x 9 ½ in. |
pprEnv11 |
21 |
Envelope #11, 4 ½ x 10 3/8 in. |
pprEnv12 |
22 |
Envelope #12, 4 ½ x 11 in. |
pprEnv14 |
23 |
Envelope #14, 5 x 11 ½ in. |
pprCSheet |
24 |
C size sheet |
pprDSheet |
25 |
D size sheet |
pprESheet |
26 |
E size sheet |
pprEnvDL |
27 |
Envelope DL, 110 x 220 mm |
pprEnvC5 |
28 |
Envelope C5, 162 x 229 mm |
pprEnvC3 |
29 |
Envelope C3, 324 x 458 mm |
pprEnvC4 |
30 |
Envelope C4, 229 x 324 mm |
pprEnvC6 |
31 |
Envelope C6, 114 x 162 mm |
pprEnvC65 |
32 |
Envelope C65, 114 x 229 mm |
pprEnvB4 |
33 |
Envelope B4, 250 x 353 mm |
pprEnvB5 |
34 |
Envelope B5, 176 x 250 mm |
pprEnvB6 |
35 |
Envelope B6, 176 x 125 mm |
pprEnvItaly |
36 |
Envelope, 110 x 230 mm |
pprEnvMonarch |
37 |
Envelope Monarch, 3 7/8 x 7 ½ in. |
pprEnvPersonal |
38 |
Envelope, 3 5/8 x 6 ½ in. |
pprFanfoldUS |
39 |
U.S. Standard Fanfold, 14 7/8 x 11 in. |
pprFanfoldStdGerman |
40 |
German Standard Fanfold, 8 ½ x 12 in. |
pprFanfoldLglGerman |
41 |
German Legal Fanfold, 8 1/2 x 13 in. |
ppr* |
42 - 68 |
Less-common international sizes. |
pprUser |
256 |
Custom-size. Set dimensions with the PaperWidth and PaperHeight properties. |
Setting the PaperWidth or PaperHeight properties automatically sets PaperSize to pprUser (256).
Not all of the paper size options are available on every printer. Before selecting a paper size, you should check whether it is available. You can do this by reading the PaperSizes array property. For example, the following code shows which paper sizes are available on the current device:
Debug.Print "Paper sizes available on the "; vp.Device; ":"
For i = 1 To 256
If vp.PaperSizes(i) Then Debug.Print " paper size "; i; " is available"
Next
PaperSizeSettings (Enumeration)