Page 1 of 1
Duplex printing
Posted: Sun Jan 29, 2006 11:07 am
by Frank Demont
How is it done ? oPrn:SetBin(nBin) ??????
How select front and backsize ?
Frank
Re: Duplex printing
Posted: Sun Jan 29, 2006 2:27 pm
by Enrico Maria Giordano
Have a look at PrnDuplex() function.
EMG
Posted: Mon Jan 30, 2006 7:04 am
by Frank Demont
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.
Posted: Mon Jan 30, 2006 7:41 am
by Enrico Maria Giordano
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
Re:
Posted: Fri Nov 06, 2020 8:28 am
by Silvio.Falconi
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
where I can see the values for
DMDUP_SIMPLEX
DMDUP_HORIZONTAL
DMDUP_VERTICAL
have you a sample for a test prn duplex ?
I have a Hp1606dn support front retro
Re: Duplex printing
Posted: Fri Nov 06, 2020 8:41 am
by driessen
I think these are the values :
1 DMDUP_SIMPLEX
2 DMDUP_HORIZONTAL
3 DMDUP_VERTICAL
Re: Duplex printing
Posted: Fri Nov 06, 2020 1:30 pm
by karinha
Re: Duplex printing
Posted: Fri Nov 06, 2020 2:05 pm
by driessen
This is the code I use :
InstPrinter()
PrnLandscape() ;
PrnDuplex( IF(US->RPRTDUP2, 2, 3) )
Anyone any idea where the function InstPrinter() comes from?
I can't remember anymore why I am using it.
Thank you.