Control Reference > VSPrinter Control > VSPrinter Properties > PaperBin Property |
Returns or sets the paper bin to use.
[form!]VSPrinter.PaperBin[ = PaperBinSettings ]
The settings for the PaperBin property are described below:
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. |
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. For example, the following code shows which bins are available on the current device:
Debug.Print "Bins available on the "; vp.Device; ":"
For i = 1 To 15
If vp.PaperBins(i) Then Debug.Print " bin "; i; " available"
Next
PaperBinSettings (Enumeration)