I need to change the printer orientation before printing an HTML page and then set it back to the previous orientation. It seems that changing the orientation in VB doesn't affect the orientation when it opens the print dialog box using the method I'm using - which may be wrong.
Any alternatives, or ways to force the orientation?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
Any alternatives, or ways to force the orientation?
Code:
Printer.Orientation = vbPRORLandscape
Shell "rundll32.exe MSHTML.DLL,PrintHTML " & Chr$(34) & "D:\temp\test.htm" & Chr$(34)
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments