I considered putting this in the client-side forum because it seems like perhaps it is a client-side question, but it occurred to me that there might be other options to solve this problem. I also noticed this post which seems to be asking a similar problem, but my server is going to be running off-site.
I would like to know if it's possible to specify that a page to one's browser should be printed on a particular printer. For example, a user logs into my web application written in PHP, hosted via Apache running in Amazon cloud. They choose 'print labels' and the result is that data from the server (either HTML, PDF, DOC, whatever) is printed on a printer running in their retail store. I'm guessing that it is not possible to use Javascript to force a particular printer choice. Would I need to concoct some kind of client-side Java application or ActiveX control to act as a go-between from the web app to the appropriate printer? The basic idea is to send labels to the label printer (it has a spool of a particular type of label) and to send other reports and/or purchase orders to the laser printer. The client has made it clear that Avery labels are a non-starter.
Any help/thoughts/suggestions would be much appreciated. Unless I'm mistaken, it seems like I'll need Java, Adobe Air, or some other application to escape the browser and choose the printer directly.