Programming with Reflection

image\rwnprg32.gif PrintPaperSize property

 

Syntax

object.PrintPaperSize
object.PrintPaperSize = Value

Data type

Enumeration

 

Description

Returns (first syntax line) or specifies (second syntax line) the paper size to use for the current default Windows printer. For example, this statement specifies legal size (8.5 × 14 inch) paper:

Session.PrintPaperSize =rcPaperSizeLegal

Values

The default value is rcPaperSizeWindows, which specifies the current printer default. The other possible values are:

rcPaperSize10x11 10 × 11 in.

rcPaperSize10x14 10 × 14 in.

rcPaperSize11x17 11 × 17 in.

rcPaperSize15x11 15 × 11 in.

rcPaperSize9x11 9 × 11 in.

rcPaperSizeA2 A2 420 × 594 mm

rcPaperSizeA3 A3 297 × 420 mm

rcPaperSizeA3Extra A3 Extra 322 × 445 mm

rcPaperSizeA3ExtraTraverse A3 Extra Transverse 322 × 445 mm

rcPaperSizeA3Traverse A3 Transverse 297 × 420 mm

rcPaperSizeA4 A4 210 × 297 mm

rcPaperSizeA4Extra A4 Extra 9.27 × 12.69 in.

rcPaperSizeA4ExtraTraverse Letter Extra Transverse 9.275 × 12 in.

rcPaperSizeA4Plus A4 Plus 210 × 330 mm

rcPaperSizeA4Small A4 Small 210 × 297 mm

rcPaperSizeA4Traverse A4 Transverse 210 × 297 mm

rcPaperSizeA5 A5 148 × 210 mm

rcPaperSizeA5Extra A5 Extra 174 × 235 mm

rcPaperSizeA5Traverse A5 Transverse 148 × 210 mm

rcPaperSizeAPlus SuperA/SuperA/A4 227 × 356 mm

rcPaperSizeB4 B4 (JIS) 250 × 354 mm

rcPaperSizeB5 B5 (JIS) 182 × 257 mm

rcPaperSizeB5Extra B5 (ISO) Extra 201 × 276 mm

rcPaperSizeB5Traverse B5 (JIS) Transverse 182 × 257 mm

rcPaperSizeBPlus SuperB/SuperB/A3 305 × 487 mm

rcPaperSizeCSheet C-sized sheet

rcPaperSizeDSheet D-sized sheet

rcPaperSizeEnv10 Envelope #10 4 1/8 × 9 1/2 in.

rcPaperSizeEnv11 Envelope #11 4 1/2 × 10 3/8 in.

rcPaperSizeEnv12 Envelope #12 4 3/4 × 11 in.

rcPaperSizeEnv14 Envelope #14 5 × 11 1/2 in.

rcPaperSizeEnv9 Envelope #9

rcPaperSizeEnvB4 Envelope B4 250 × 353 mm

rcPaperSizeEnvB5 Envelope B5 176 × 250 mm

rcPaperSizeEnvB6 Envelope B6 176 × 125 mm

rcPaperSizeEnvC3 Envelope C3 324 × 458 mm

rcPaperSizeEnvC4 Envelope C4 229 × 324 mm

rcPaperSizeEnvC5 Envelope C5 162 × 229 mm

rcPaperSizeEnvC6 Envelope C6

rcPaperSizeEnvC65 Envelope C65 114 × 229 mm

rcPaperSizeEnvDL Envelope DL 110 × 220 mm

rcPaperSizeEnvInvite Envelope Invite 220 × 220 mm

rcPaperSizeEnvItaly Envelope 110 × 230 mm

rcPaperSizeEnvMonarchEnvelope Monarch 3.875 × 7.5 in.

rcPaperSizeEnvPersonal 6 3/4 Envelope 3 5/8 × 6 1/2 in.

rcPaperSizeESheet E-sized sheet

rcPaperSizeExecutive Executive 7 1/4 × 10 1/2 in.

rcPaperSizeFanfoldLglGerman German Legal Fanfold 8 1/2 × 13 in.

rcPaperSizeFanfoldStdGerman German Std Fanfold 8 1/2 × 12 in.

rcPaperSizeFanfoldUS US Std Fanfold 14 7/8 × 11 in.

rcPaperSizeFolio Folio 8.5 × 13 in.

rcPaperSizeISOB4 B4 (ISO) 250 × 353 mm

rcPaperSizeJapanesePostcard Japanese Postcard 100 × 148 mm

rcPaperSizeLedger Ledger 17 × 11 in.

rcPaperSizeLegal Legal 8.5 × 14 in.

rcPaperSizeLegalExtra Legal Extra 9.275 × 15 in.

rcPaperSizeLetter Letter 8.5 × 11 in.

rcPaperSizeLetterExtra Letter Extra 9.275 × 11 in.

rcPaperSizeLetterPlus Letter Plus 8.5 × 12.69 in.

rcPaperSizeLetterSmall Letter Small 8.5 × 11

rcPaperSizeLetterTransverse Letter Transverse 8.275 × 11 in.

rcPaperSizeNote Note 8.5 × 11 in.

rcPaperSizeQuarto Quarto 215 × 275 mm

rcPaperSizeStatement Statement 5.5 × 8.5 in.

rcPaperSizeTabloid Tabloid 11 × 17 in.

rcPaperSizeTabloidExtra Tabloid Extra 11.69 × 18 in.

rcPaperSizeWindows Printer default

Note

· If you use the Reflection View Settings dialog box to view or set the value of this property, you must know the numeric equivalent for the enumeration values listed above. (For example, rcPaperSizeLegal = 5). To find the numeric value of any Reflection constant, open the Visual Basic Editor, open the View menu and click Object Browser, then click Constants in the list of classes on the left. Select any constant from the list on the right to find the numeric value for that constant displayed in the bottom of the Object Browser window.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property