FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Landscape and portrait
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Landscape and portrait
Posted: Sat Mar 28, 2009 09:57 PM

Hello,

Using the printer class, I want to print the first page in portrait, starting the second page I want to print in landscape.

I tried to use PrnPortrait() and PrnLandScape() but everything was printed in the same mode.

How can I establish what I want ?

Thanks a lot in advance for any help.

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

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Landscape and portrait
Posted: Sat Mar 28, 2009 10:34 PM

Hello Micel,

PrnPortrait() and PrnLandScape() works on Print-start, not during printing.
To change the orientation during printing, You have to send the ESC-sequence
for the needed style after the page is printed ( look at Your printer-doc. )

Regards
Uwe :lol:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Landscape and portrait
Posted: Sat Mar 28, 2009 11:10 PM

Uwe,

Thanks for you help.

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

Continue the discussion