N
NWx
Hi,
I have a web browser control integrated into a form, which display a HTM
page I generate in my program
And I want to be able to print that web page (it is a actually a report)
But I want it to print directly in landscape format.
Is there any way to automate IE to change page payout to landscape
automatically?
Right now I use a Shellexecute like this
lcFile = thisform.oBrowser.LocationURL
thisform.bzshell1.shellexecute(lcFile , JUSTPATH(lcFile ), "PRINT")
Where bzshell1 is a class wrapper around shellexec API function
But, can I automate the web browser control directly to print, and to select
programmatically the destination printer and page layout (landscape)?
Thank you
I have a web browser control integrated into a form, which display a HTM
page I generate in my program
And I want to be able to print that web page (it is a actually a report)
But I want it to print directly in landscape format.
Is there any way to automate IE to change page payout to landscape
automatically?
Right now I use a Shellexecute like this
lcFile = thisform.oBrowser.LocationURL
thisform.bzshell1.shellexecute(lcFile , JUSTPATH(lcFile ), "PRINT")
Where bzshell1 is a class wrapper around shellexec API function
But, can I automate the web browser control directly to print, and to select
programmatically the destination printer and page layout (landscape)?
Thank you