PDA

View Full Version : How to print Landscape using DLL


myename
May 7th, 2008, 04:33 PM
Hi,
I'm using FoxIt dll with C# for displaying and printing pdf files.
In my document some pages are Portrait and some are Landscape; during print portrait pages are ok but how can I print a landscape page?
Do I need to Rotate or is there any other way to print it landscape?

Thanks
myename

jinming_wang
May 8th, 2008, 12:52 AM
Could you send us the pdf file which cause the problem? we may need it to recreate the problem.For more help, please contact sdk-list@foxitsoftware.com.

myename
May 8th, 2008, 05:31 AM
I am using FPDF_RenderPage function to render the page.
My first page is Portrait and it prints fine; but when I try printing the 2nd page which is Landscape I got the problem. How do I prepare it to render as Landscape?

Thanks

myename
May 9th, 2008, 11:42 AM
Hi Guys,
Thanks; I've found how to fix that....

It was my bug....
I had to change the PageSettings.Landscape value in "PrintDocument.QueryPageSettings" event.

Thanks