View Full Version : printing bills with dot matrix printer from web application

November 18th, 2008, 02:44 AM

i'm working on a web application, and i was asked to implement printing bills using dot matrix printers, preferable ascii mode.

i guess i have to have bill dimensions and printer font sizes in order to make an ascii text, and send this text to the printing dialog. All this from a web page.

my questions:

- is this the best way to do it? i'm told that i have to use text/plain content for the printer, or else i could have some dispacements in the output

- how can i make a link that opens the printing dialog to print another page (that is text/plain content)?

thanks for any help

excuse my english