Two Laptop Bag*
The moose likes PHP and the fly likes  Can I send printer codes from web page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark " Can I send printer codes from web page?" Watch " Can I send printer codes from web page?" New topic
Author

Can I send printer codes from web page?

chanveil Kiji
Greenhorn

Joined: Dec 30, 2010
Posts: 15
Something tells me this isn't possible. I am working on a script that prints two documents back to back onto a receipt printer from a webpage, and want to issue a "receipt cut" command in between printing these pages. The command is ESC d 1 or decimal 27, 100, 49. Maybe with javascript?
 
Don't get me started about those stupid light bulbs.
 
subject: Can I send printer codes from web page?
 
Similar Threads
Cash Drawer handling with Java
Receipt printer?? trough javax.comm API
How to Print a Bill receipt of required format ina JSP page
jsp/servlet automatically print to non local printer
Printing in Java using printDialog