print or scan button on asp page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chaitanya02
    New Member
    • May 2007
    • 46

    print or scan button on asp page

    Hi,

    Do anyone know how to add an print or scan button on a webpage-asp.
    I have a webpage like a agreement page, which when an user clicks should agree to download something.
    How can I add a button for print and a button for scan so when clicked shows options to print?

    please help.

    thanks in advance.
  • Jerry Winston
    Recognized Expert New Member
    • Jun 2008
    • 145

    #2
    I think your question is a JavaScript question considering printing from an asp page is really a browser sort of thing rather than a server side function.

    Carefully considering at what point in the lifecycle of your application you want to perform a certain action will help you consider which tools accomplish the job best and knowing that will help to direct your search for a solution.

    anyway, i use this to print my pages:
    Code:
    <% response.write("<INPUT TYPE='button' onClick='window.print();' value='Print' >")

    Comment

    Working...