Duplex printing

Duplex printing

Postby Frank Demont » Sun Jan 29, 2006 11:07 am

How is it done ? oPrn:SetBin(nBin) ??????

How select front and backsize ?

Frank
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Re: Duplex printing

Postby Enrico Maria Giordano » Sun Jan 29, 2006 2:27 pm

Have a look at PrnDuplex() function.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Frank Demont » Mon Jan 30, 2006 7:04 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.
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Postby Enrico Maria Giordano » Mon Jan 30, 2006 7:41 am

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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re:

Postby Silvio.Falconi » Fri Nov 06, 2020 8:28 am

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Duplex printing

Postby driessen » Fri Nov 06, 2020 8:41 am

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. 24.02 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc77
User avatar
driessen
 
Posts: 1396
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Duplex printing

Postby karinha » Fri Nov 06, 2020 1:30 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7213
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Duplex printing

Postby driessen » Fri Nov 06, 2020 2:05 pm

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.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.02 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc77
User avatar
driessen
 
Posts: 1396
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 22 guests