Can you print files from a web page?
Posted on 2011-10-26
I am looking for a way to send files to a user’s printer from a web page.
Generally, what needs to happen is the user goes to a web page which displays a list of files (pdf files in this case). The user may select one or more files and clicks “Print”. The files are found on the server and sent to the printer automatically. If there are more than one file, they are all printed automatically without further user intervention. Note, I am not interested in printing the web page, but rather files on the server.
I know this is a tall order for a web-based page. I am not looking necessarily for specific code, but I would like to know:
Is it possible?
What scripting language(s) would best handle this?
What particular functions in the language of choice should I look at?
Points may be shared for this one based on clarity and depth of detail.