Printer Object
 
Syntax
 
Printer.PaperBin = vsPaperBinSettings
 
Description
Returns or sets the paper bin to use.
 
The default value for this property depends on the printer driver and the current printer settings.
 
This property relies on the printer driver, and may or may not be available on a particular printer. After setting this property, read it back to make sure the driver made the change, or check the Error property. If it is set to vperDeviceIncapable (7), then the printer does not support the selected setting and you should take appropriate action.
 
You can determine which bins are available on the current device by reading the PaperBins property.
 
Parameter
Description
vsPaperBinSettings
This parameter contains the following pre-defined constants and values:
Constant
Value
Description
binUpper
1
Use paper from the upper bin.
binLower
2
Use paper from the lower bin.
binMiddle
3
Use paper from the middle bin.
binManual
4
Wait for manual insertion of each sheet of paper.
binEnvelope
5
Use envelopes from the envelope feeder.
binEnvManual
6
Use envelopes from feeder, but wait for manual insertion.
binAuto
7
Use paper from the current default bin.
binTractor
8
Use paper fed from the tractor feeder.
binSmallFmt
9
Use paper from the small paper bin.
binLargeFmt
10
Use paper from the large paper bin.
binLargeCapacity
11
Use paper from the large capacity feeder.
binCassette
14
Use paper from the attached cassette cartridge.
binFormSource
15
Use paper from form source.
binUser
256
Custom bin.
Note: depending on the printer driver used, paperbin settings may use values up to 32767. For example: some printers have bins that are set by combined values of 255+ binUpper, binLower, etc.. So, the upper bin is addressed by 256, the lower bin is addressed by 257, and so forth.
See Also
Example