Jump to content

Printing documents from html


hicksi
 Share

Recommended Posts

Hi guys, I have a large number of PDF documents that I want to index in html pages. By default, a standard link will display the pdf. I want (instead) to send the document directly to the default printer. My users might accept the printer=selection window, but my ideal is to have the document printed (double-sided) on the default printer. Thanks,Ian

Link to comment
Share on other sites

Javascript window print method is as close as you can get :http://www.w3schools.com/jsref/met_win_print.asp

Link to comment
Share on other sites

Sorry. I remember asking almost the same question some time ago and hoping for the answer you were hoping for, but no joy. That's just as well though. Can you imagine how mad users would get if web site could take control of their printer?

Link to comment
Share on other sites

Guest So Called

It reminds me of when FAX first became popular and people got mad because junk mailers started sending advertisement to their FAX machines. That's why you can't print directly to somebody's printer. Otherwise spammers could spam people's printers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...