View Full Version : Printing PDFs?
Bengal313
06-07-2004, 06:40 PM
I have bunch of PDFs that I linked on my website. As normal when I click on the pdf Acrobat reader launches. Is there a way I can have it where when clicked on the pdf instead of launching the reader have is go directly to the print dialog box? I am using php as my scripting language.
jspeybro
06-09-2004, 11:58 AM
I never tried this, but it won't be possible with PHP. I think you'll need javascript for that.
quick search in google gave me this page:
http://www.felgall.com/jstip29.htm
seems only IE supports printing without opening the page.
A workaround could be something like this:
You could open the page in a hidden frame (use a 100%,* 2 rows-frame or something) and then print the second frame. never did something like this, so I can't give you any code for it.
it's just an Idea of how I would try to solve it, don't know if it works...
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.