Printing

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Printing

Post by driessen »

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. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
demont frank
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Re: Printing

Post by demont frank »

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
Post Reply