Printing to different printers using mozilla.
Posted
by Nick-ACNB
on Stack Overflow
See other posts from Stack Overflow
or by Nick-ACNB
Published on 2010-06-07T02:16:31Z
Indexed on
2010/06/07
2:22 UTC
Read the original article
Hit count: 269
I am currently creating a web application that will be deployed in an intranet environment. I chose firefox to be the browser that will run it.
However, in the application I am building, I need to be able to print to different printers quickly since they use different paper size depending on what client is coming. To avoid many time-wasting mistakes that could occur, for instance someone choosing the wrong printer and wasting paper. Also, the time used to find the right printer for the job and then pressing print is considered too long in the current context.
Is there any solution to this problem? I understand the potential security flaw behind this, but please be aware that this is solely an intranet project and that I can reduce the browser's security to the lowest since they don't access internet.
I know there could be something doable behind IE (ActiveX or VBScript) but I am using firefox. Also, I guess there could also be something rather tricky that when you press print on the browser, it saves what needs to be printed to a DB and then there is an exe app that runs and fetch that DB every set ammount of time and print to the right printer.
Any suggestion would be greatly appreciated. I doubt I am the only one to ever face this issue! :)
Thank you very much.
© Stack Overflow or respective owner