How is it done ? oPrn:SetBin(nBin) ??????
How select front and backsize ?
Frank
How is it done ? oPrn:SetBin(nBin) ??????
How select front and backsize ?
Frank
Have a look at PrnDuplex() function.
EMG
Enrico,
Thanks , i didn't know this function , but how to use ?
I suppose that it is called after the printobject is called ?
What means DMDUP_HORIZONTAL ?
DMDUP_VERTICAL ?
Will automatically page 1 on the front , page 2 on the back .....
It is difficult to me to test , this week i have at the client to manage duplex printing , i try to save time before the job.
You can call it before the PRINT command.
From the MSDN:
dmDuplex
Selects duplex or double-sided printing for printers capable of duplex printing. Following are the possible values. Value Meaning
DMDUP_SIMPLEX Normal (nonduplex) printing.
DMDUP_HORIZONTAL Short-edge binding, that is, the long edge of the page is horizontal.
DMDUP_VERTICAL Long-edge binding, that is, the long edge of the page is vertical.
EMG
Enrico Maria Giordano wrote:You can call it before the PRINT command.
From the MSDN:
dmDuplex
Selects duplex or double-sided printing for printers capable of duplex printing. Following are the possible values. Value Meaning
DMDUP_SIMPLEX Normal (nonduplex) printing.
DMDUP_HORIZONTAL Short-edge binding, that is, the long edge of the page is horizontal.
DMDUP_VERTICAL Long-edge binding, that is, the long edge of the page is vertical.
EMG
I think these are the values :
1 DMDUP_SIMPLEX
2 DMDUP_HORIZONTAL
3 DMDUP_VERTICAL
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
InstPrinter()Anyone any idea where the function InstPrinter() comes from?
PrnLandscape() ;
PrnDuplex( IF(US->RPRTDUP2, 2, 3) )
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