paperSource

Type: Integer

Default Value: 0 (all)

The paperSource property of the CMDPrint class contains the location in the printer of the paper that you want to use when printing from the common Print dialog. You cannot modify this property after printing has begun.

This property applies only when the printSetup property is set to false.

The value of this property is printer driver-specific; that is, different printer models may support different paper sources. (For example, your printer driver may assign 256 to an upper tray, 257 to a lower tray, and 4 to manual feed. A value of zero (0) indicates that all paper sources are displayed in the common Print dialog.)

Use the Printer class getAllPaperSources method to access the valid paper sources of a printer.