my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android 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?
 
It is sorta covered in the JavaRanch Style Guide.
 
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