FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to select paper tray on printer
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM

How to select paper tray on printer

Posted: Wed Jan 30, 2008 01:06 PM

Hi

I need to be able to select a certain tray on a printer ( printing on card )
and then select another tray to print on paper.

TIA

Colin

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: How to select paper tray on printer

Posted: Wed Jan 30, 2008 01:16 PM
From printer.prg:

// Defines for the oPrn:SetBin(nBin) method (The printer MUST support it)

#define DMBIN_FIRST       DMBIN_UPPER
#define DMBIN_UPPER       1
#define DMBIN_ONLYONE     1
#define DMBIN_LOWER       2
#define DMBIN_MIDDLE      3
#define DMBIN_MANUAL      4
#define DMBIN_ENVELOPE    5
#define DMBIN_ENVMANUAL   6
#define DMBIN_AUTO      7
#define DMBIN_TRACTOR     8
#define DMBIN_SMALLFMT    9
#define DMBIN_LARGEFMT    10
#define DMBIN_LARGECAPACITY 11
#define DMBIN_CASSETTE    14
#define DMBIN_LAST      DMBIN_CASSETTE


EMG
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM

Select Tray

Posted: Wed Jan 30, 2008 10:13 PM

Enrico - Thank You - i will try it.

Colin

Continue the discussion