Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Printing pdf in background

    Hello everyone,

    i'm working on a project where i'm supposed to print documents with a touch screen. I made a website in html.

    Everytime someone presses on a button, a pdf document needs to be printed in the background. I can make a link that when pressed on, the pdf document opens in acrobat reader, but you can't close pdf reader anymore... The button to close acrobat reader is to small.

    Is there a way to just print the pdf document using a script in java?
    There is a script to print a page, but it only prints the webpage itself:

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

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    this belongs in the javascript forum...but, anyway what you ask can't be done except in extremely hacky ways in IE
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

  • #3
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, than i know that i need to find something else.
    Thanks


  •  

    Posting Permissions

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