It works quite well, and it's been in production since mid 2007. But now, they've requested us to develop a web application (in PHP) and to, somehow, enable clients to print in a dotmatrix printer directly...
The question is: how could we send ESC/P commands to the printer from a web page?
Before starting to develop anything (the project has not yet been approved), I can think nof two alternatives:
- Use a signed java applet that opens the printer port and sends data and control characters directly
- Render a webpage with control characters on it and use javascript's document.print()
I hope I'll be able, in a short time, to post a manual on how we did the work...
Cap comentari:
Publica un comentari a l'entrada