I have a ticket printer (EPSON TM-U220) and I am working on a billing system in PHP and MySQL, My question is, If anyone knows of any classes or functions written in PHP to Build the Ticket or Invoice with the correct format for this type of printer?

有帮助吗?

解决方案

If you just want to produce a document to send to the printer, I think you should not bother with formats and just create a PDF. There are a lot of libraries to create pdf from xhtml/html.

If you want to communicate with the printer itself, you will need to start with the tech ressources of the respective printer.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top