RE:Usage of Print method() in asp form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chandhseke
    New Member
    • Jun 2009
    • 92

    RE:Usage of Print method() in asp form

    Hi Folks,

    I am back with a silly question which i think will not take much of your time to answer.

    <form>
    <input type="button" value="Print This Page" onClick="window .print()" />
    </form>

    I am using print() method to print a asp form. But the issue is i am not able to print the entire left side of the form.(part of the form towards left is missing due to form width).

    Is it possible to print the form irrespective of form length and width?. I mean, a method or piece of code which can shrink the form to a default page size(example: A4) and print. please advise.

    Thanks for all your help!!

    Regards,
    Chandhseke
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you could try a CSS file for print media … to fit the page onto the paper

    Comment

    • chandhseke
      New Member
      • Jun 2009
      • 92

      #3
      Can you elaborate a bit please, since i have not done this before.

      Any site address that could help me will be great!!

      Regards,
      Chandhseke

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        you can define a CSS file to be used for a special medium (screen, print, speech, etc.) by using the media attribute. (ref.)

        Comment

        Working...