News2 mins ago
HTML Code
8 Answers
Is it possible to set a link in a web page to print a document when clicked? I do not want the document to open, just print.
Thanks for any help.
Answers
Best Answer
No best answer has yet been selected by Kerplunk. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Here ya go :
http://www.net-sites.com/sitebuilder/scripts/script3.asp
It's more JavaScript than HTML though.
http://www.net-sites.com/sitebuilder/scripts/script3.asp
It's more JavaScript than HTML though.
That'd means when the user clicks on it, the PDF would have to download, and then they'd need a print routine that'd recognise and be able to print a PDF.
Usually you have a PDF viewer installed, that opens the document and then interfaces with the windows print routine.
Good problem, I'm interested if anyone has a solution. But how do you know your user will be able to open PDFs?