mike42 / escpos-php

PHP library for printing to ESC/POS-compatible thermal and impact printers
Other
2.54k stars 862 forks source link

Improve support for ESC/POS displays AF240, OCD100 #612

Open mike42 opened 6 years ago

mike42 commented 6 years ago

We currently have an example that shows how to use the AuresCustomerDisplay class to drive an OCD-300 display.

I've now also got an OCD-100 and Oxhoo AF240 which are also controlled by ESC/POS-like commands, but do not work with this example.

Other than number of columns and code pages (handled in profiles), they differ by:

Expand the AuresCustomerDisplay class so that it can be used on any of these three displays, changing these feature based on the name of the active profile.

mike42 commented 6 years ago

Basic profiles are online-