| Win32Prn() > Print job configuration |
![]() |
![]() |
![]() |
Numeric paper bin to use for printing.
| Data type: | N | Default: | 0 |
A numeric value can be assigned to :binNumber before method :create() is called. It selects the paper bin to use for the print job. #define constants are available in the file WinGdi.ch that can be used for :binNumber. If :binNumber is not set, the default paper bin is used.
Constants for paper bin selection
| Constant | Value |
|---|---|
| DMBIN_FIRST | 1 |
| DMBIN_UPPER | 1 |
| DMBIN_ONLYONE | 1 |
| DMBIN_LOWER | 2 |
| DMBIN_MIDDLE | 3 |
| DMBIN_MANUAL | 4 |
| DMBIN_ENVELOPE | 5 |
| DMBIN_ENVMANUAL | 6 |
| DMBIN_AUTO | 7 |
| DMBIN_TRACTOR | 8 |
| DMBIN_SMALLFMT | 9 |
| DMBIN_LARGEFMT | 10 |
| DMBIN_LARGECAPACITY | 11 |
| DMBIN_CASSETTE | 14 |
| DMBIN_FORMSOURCE | 15 |
When :binNumber is changed during a print job, method :startPage() must be called so that the new setting becomes valid on a new page.
http://www.xHarbour.com