Printing from ASP

Results 1 to 2 of 2

Thread: Printing from ASP

  1. #1
    Georgia Guest

    Default Printing from ASP

    Does anybody know how I can place eg. a button on my page and send it&#039s contents to the printer?

  2. #2
    Imar Spaanjaars Guest

    Default RE: Printing from ASP

    Hello,<BR><BR>You wouldn&#039t be able to do this automatically. A user will be presented with a Print dialog after which they have to confirm or cancel.<BR><BR>You could use the following code:<BR><BR>&#060;INPUT type="button" value="Print" id="btnPrint" name="btnPrint" LANGUAGE=JavaScript onclick="window.print()"&#062;<BR><BR><BR>Hope this helps.<BR><BR>Imar<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts