FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Duplex Printing
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Duplex Printing
Posted: Mon Feb 13, 2017 06:27 PM

Is there a way to call or enable Duplex printing on a printer capable of doing it using fivewin.

And

Can you print landscape on one side of the page, and portrait on the other?

Byron ...

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Duplex Printing
Posted: Mon Feb 13, 2017 11:31 PM

I think this is the function you are looking for.
PrnDuplex( [ nValue ] ) //--> nOldValue

Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Duplex Printing
Posted: Tue Feb 14, 2017 12:05 AM

Mr. Ford, thanks, is this a part of the TPrinter class, or is this just a function in fivewin.

I will try it either way. I noticed also it becomes difficult to print Landscape, and Portrait in the same print job because if you preview the metafile switches to the last orientation call made. However it does not have a problem printing directly to the printer. I am hoping that I can print Portrait on the front side of the two sided document, and Landscape on the other side. Odd I have never come across this in all the years of Fivewinning.

Thanks,

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Duplex Printing
Posted: Tue Feb 14, 2017 03:36 PM

It is in source\winapi\printdc.c

Continue the discussion