Hi everyone,
Does anyone know how to fix the paper orientation depending on the paper size used when printing with the WebBrowser control please?
What I've got is a HTML file, containing 1 big table of data, created by transforming an XML file using a XSLT file I created in InfoPath (didn't have time to learn XSLT!), the resulting HTML file is fine, except I had to fix the column sizes of the table in cm. Because of this, the table will only fit on A4 Landscape or A3 portrait paper (I know that these are the only 2 paper sizes that'll be used).
Ideally I need the WebBrowser to print using the correct orientation, regardless of what printer and paper size the user chooses!
I have come across a couple of example in the MSDN Library, but they all seem to be in 1 of the dialects of C?
Any help or examples anyone can give would be very much appreciated!
Thanks for your time,
Chris