Printing from asp .net
-
Curious if anyone has found a solution to this problem, or has any pointers to give. I have a ASP .net page, that displays a form for people to fill out. They also have a button to click on to print that uses the javascript on the clientside action. All works fine printing on the computer I developed all this on. But on the client computers the print gets cut off on the right side. As if my form is to wide for a sheet of paper on other pc's , but fine on mine. I'm hoping somebody has ran into this before, it's causing me a headache now. Thanks in advance Gerry
-
Curious if anyone has found a solution to this problem, or has any pointers to give. I have a ASP .net page, that displays a form for people to fill out. They also have a button to click on to print that uses the javascript on the clientside action. All works fine printing on the computer I developed all this on. But on the client computers the print gets cut off on the right side. As if my form is to wide for a sheet of paper on other pc's , but fine on mine. I'm hoping somebody has ran into this before, it's causing me a headache now. Thanks in advance Gerry
Hi Gerry - yup, that can be a hassle. I'm guessing you have your browser's page margins set to something less than the default - maybe .5" around? I think the default is higher than that (at least in IE) so users who haven't changed that would notice a problem. I worked around this two ways - for one app, where the reports really needed the extra width, I had instructions for users to set their page margins in their browsers to .5" around. For another app, I just reworked my form so the width would be fixed (I think I had it at 600px for that one) and the page margins don't become an issue.
-
Hi Gerry - yup, that can be a hassle. I'm guessing you have your browser's page margins set to something less than the default - maybe .5" around? I think the default is higher than that (at least in IE) so users who haven't changed that would notice a problem. I worked around this two ways - for one app, where the reports really needed the extra width, I had instructions for users to set their page margins in their browsers to .5" around. For another app, I just reworked my form so the width would be fixed (I think I had it at 600px for that one) and the page margins don't become an issue.
Thanks for the quick reply, the thing is it looks perfect when printed off of my computer. Probably have to just rework it so it prints off on two pages going with the 600px wide, wish there was a way to force it to scale to computers with lower resolution then mine. I developed it on 1600x1200.