Class or Function in PHP for generateing printable receipts [closed]

StackOverflow https://stackoverflow.com/questions/7457665

  •  21-01-2021
  •  | 
  •  

سؤال

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