N
nano2k
Hello
I need to display and then automatically print a PDF file.
I'm using AxAcroPDF to display the PDF. AxAcroPDF class has a very
good method: printAll().
The only thing is that I need to print as landscape. AxAcroPDF doesn't
allow me to change the paper orientation (in fact doesn't support any
setting changing).
To workaround, I need to set the paper orientation of the default
printer to landscape, then (optionally) set it back.
How to do this?
I'm using .NET 2.0 (VS2005).
Thanks.
I need to display and then automatically print a PDF file.
I'm using AxAcroPDF to display the PDF. AxAcroPDF class has a very
good method: printAll().
The only thing is that I need to print as landscape. AxAcroPDF doesn't
allow me to change the paper orientation (in fact doesn't support any
setting changing).
To workaround, I need to set the paper orientation of the default
printer to landscape, then (optionally) set it back.
How to do this?
I'm using .NET 2.0 (VS2005).
Thanks.