Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Print a string to Printer

I am developing a web form that should print a receipt to the printer when the user click on a [print] button.
I am using the Epson LX-300+ printer.
How can I send a string to a printer?
Thank you
:confused:
[230 byte] By [KChiang] at [2007-11-11 7:21:42]
# 1 Re: Print a string to Printer
you could use the idea in this code to print your string , the example in the page is for the whole form
http://aspalliance.com/462
srinivas_s at 2007-11-11 23:13:45 >
# 2 Re: Print a string to Printer
Sri's example prints to a printer accessible to the Web server. If you want to print to the user's printer, you'll have to use JavaScript. See http://www.quirksmode.org/js/print.html for details.
Phil Weber at 2007-11-11 23:14:45 >