Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Printing from asp .net

Printing from asp .net

Scheduled Pinned Locked Moved ASP.NET
csharpjavascripthelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gthompson2005
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • G gthompson2005

      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

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      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.

      G 1 Reply Last reply
      0
      • M Mike Ellison

        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.

        G Offline
        G Offline
        gthompson2005
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups