SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Printing

  1. #1
    SitePoint Member
    Join Date
    May 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Printing

    Hey there

    Can any one advise - I am trying to create a printing function for my webpage - basically i pull back a list of documents and create a page that will automatically print them all. (on_load or input button)
    I need this to work in IE, FF and NN.

    At the moment i have a hack that will allow us to proceed - I create a table of links and the user selects the Print All Linked Documents from the print dialog. This won't work in anything but IE. AFAIK <link...> only works in IE as well. is there something clever i can do with JS?

    Thanks
    M

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,800
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    The only action JavaScript can perform regarding printing is request to print the current page or frame.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •