M
Mike P
I am trying to use javascript to print my .NET page. I am building up
some HTML using a stringbuilder and then using this javascript to try to
print it :
<input id="Button2" value="Print" onclick="javascript:window.print()">
The page is wider than a standard A4 page but should fit onto a page in
landscape view, yet when I try to print in landscape, I only get half of
the page across printing.
Any ideas how I can get around this? Is there a better way to print web
pages using .NET?
some HTML using a stringbuilder and then using this javascript to try to
print it :
<input id="Button2" value="Print" onclick="javascript:window.print()">
The page is wider than a standard A4 page but should fit onto a page in
landscape view, yet when I try to print in landscape, I only get half of
the page across printing.
Any ideas how I can get around this? Is there a better way to print web
pages using .NET?