Results 1 to 2 of 2

Thread: Button to print

  1. #1
    Join Date
    Jul 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Button to print

    I remember a while back seeing a script or code for a button to activate the printer. Can anyone help me here?
    Therinpa@sc.rr.com

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    HTML Code:
    <input type="button" value="Print This Page" onclick="print();">
    Requires javascript enabled and will only open the print dialogue box, same as choosing "File > Print" from the menu or clicking on the icon of the printer in the toolbar (if available).
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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