![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Webcontrol to print landscape I have a html page in the webbrowser and it is too wide to print on A4 Portrait. What I need to be able to do is set the page orientation to landscape for this print. At the moment I am showing webcontrol1.print, but I can not see any means of setting the orientation to landscape in code. I know the user can do this in the print dialog box, but I want this to be user friendly so that the user can just choose print and off it goes without them having to set the thing up to landscape every time. I have tried: Dim h As System.Windows.Forms.HtmlDocument h = WebBrowser1.Document but there seems to be no property available to set the orientation of the print dialog to landscape by default for this report page I am writing. We are trying to get away from Crystal Reports for reports as the report style looks a bit outdated (on our version anyway) and it is limited as to how we can present our data. We can get the desired result in html but unable as I say to get the thing to print sideways. Can anyone please assist? Thanks in advance for any feedback. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Excel and vista x64 - landscape printing? | Microsoft Office | |||
| Unable to rotate display from landscape to portrait | Vista General | |||
| Portrait photos displaying as Landscape- how to fix all at once? | Vista music pictures video | |||
| Print pictures forces landscape orientation | Vista music pictures video | |||
| Printing of Tiff always comes out as landscape in Vista | Vista print fax & scan | |||