Win32Prn() > Print job configuration xHarbour Developers Network  

oWin32Prn:binNumber

Numeric paper bin to use for printing.

Info

Data type:NDefault:0

Description

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
ConstantValue
DMBIN_FIRST1
DMBIN_UPPER1
DMBIN_ONLYONE1
DMBIN_LOWER2
DMBIN_MIDDLE3
DMBIN_MANUAL4
DMBIN_ENVELOPE5
DMBIN_ENVMANUAL6
DMBIN_AUTO7
DMBIN_TRACTOR8
DMBIN_SMALLFMT9
DMBIN_LARGEFMT10
DMBIN_LARGECAPACITY11
DMBIN_CASSETTE14
DMBIN_FORMSOURCE15

When :binNumber is changed during a print job, method :startPage() must be called so that the new setting becomes valid on a new page.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe