chestertb
01-09-2007, 06:45 AM
Ok. I know. You can't bypass the print dialog box from a web page for really god reason. I'm with you.
If you could, the evil ba*&@#! that try to send me ads to make parts of my body bigger or pump up the price of some share they just bought would flood my printer as well as my inbox. I don't want that. Neither does anyone else, and if we allowed it, evil would triumph.
But...
We've written a browser based point of sale system that runs on a localhost server. It sends a receipt to a very cool receipt printer that has windows drivers via the print() function. Up pops the dialog box, which, in a POS system, is mildly inconvenient.
I've been reading a little about ActiveX, and I understand that it's theoretically possible to write an ActiveX control to bypass the print dialog.
If we can't do the ActiveX thing, my next guess would be to seed the receipt data into a java applet on the server and print it from there, but java isn't something we've dabbled with.
Anyone know an ActiveX control that will do what we're looking for, or have any other thoughts?
CTB
If you could, the evil ba*&@#! that try to send me ads to make parts of my body bigger or pump up the price of some share they just bought would flood my printer as well as my inbox. I don't want that. Neither does anyone else, and if we allowed it, evil would triumph.
But...
We've written a browser based point of sale system that runs on a localhost server. It sends a receipt to a very cool receipt printer that has windows drivers via the print() function. Up pops the dialog box, which, in a POS system, is mildly inconvenient.
I've been reading a little about ActiveX, and I understand that it's theoretically possible to write an ActiveX control to bypass the print dialog.
If we can't do the ActiveX thing, my next guess would be to seed the receipt data into a java applet on the server and print it from there, but java isn't something we've dabbled with.
Anyone know an ActiveX control that will do what we're looking for, or have any other thoughts?
CTB