How is it done ? oPrn:SetBin(nBin) ??????
How select front and backsize ?
Frank
Duplex printing
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Duplex printing
Have a look at PrnDuplex() function.
EMG
EMG
-
- Posts: 142
- Joined: Sun Oct 09, 2005 10:59 am
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.
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.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
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
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
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re:
where I can see the values forEnrico 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
DMDUP_SIMPLEX
DMDUP_HORIZONTAL
DMDUP_VERTICAL
have you a sample for a test prn duplex ?
I have a Hp1606dn support front retro
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: Duplex printing
I think these are the values :
1 DMDUP_SIMPLEX
2 DMDUP_HORIZONTAL
3 DMDUP_VERTICAL
1 DMDUP_SIMPLEX
2 DMDUP_HORIZONTAL
3 DMDUP_VERTICAL
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
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Re: Duplex printing
João Santos - São Paulo - Brasil
Re: Duplex printing
This is the code I use :
I can't remember anymore why I am using it.
Thank you.
Anyone any idea where the function InstPrinter() comes from?InstPrinter()
PrnLandscape() ;
PrnDuplex( IF(US->RPRTDUP2, 2, 3) )
I can't remember anymore why I am using it.
Thank you.
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
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7