I was curious to know if there are any extensions to accomplish printing receipts from a web application written in Ext. Maybe external libraries you guys may be aware of? I'd like to stick to javascript if possible, I know this can be done with java libraries and such, but if anyone knows of the easiest and simplest way to send a page's content to a receipt printer in the correct format, I would greatly appreciate some direction.
One trick I did was open a new window with the receipt preview and once loaded then do window.print()
Of course Air or a flash would be a lot more flexible in customizing the print dialog, forcing 1 printer, and etc.
The opening a new window with the receipt preview and then print on loaded would most likely be the easiest.
Since you can set window width and everything.