Landscape and portrait

Landscape and portrait

Postby driessen » Sat Mar 28, 2009 9: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Landscape and portrait

Postby ukoenig » 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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Landscape and portrait

Postby driessen » Sat Mar 28, 2009 11:10 pm

Uwe,

Thanks for you help.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
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 86 guests