FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Printing
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Printing
Posted: Tue Feb 23, 2010 10:14 AM

Hello,

More and more, my customers are using printers with several trays.

To send my listings to the right trays, I need to know which trays are available, and which code has to be used for printing to the right tray. The same question I can ask about the sort of paper that is used.

I use these functions : PrnBinSource() or PrnSetPage().

You need to give a number as a parameter to select the right tray or soft of paper.

For example :

PrnBinSource(1) for tray 1
PrnBinSource(2) for tray 2

The number which has to be used is depending on the printerdriver. I need to know which number is used, or a need a possibility to select the right bin or the righ sort of paper.

Does someone have any solution for this ?

Thanks a lot in advance for any help.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 167
Joined: Thu Mar 22, 2007 11:24 AM
Re: Printing
Posted: Tue Feb 23, 2010 10:56 AM

Driessen,

I don't know if it is possible , but let windows create a printer several times and try to set for each item the properties. Your customer has only to choose the right printer.

Frank

Continue the discussion