Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mike42 opened this issue Jul 28, 2018 · 1 comment
Open

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

mike42 opened this issue Jul 28, 2018 · 1 comment

Comments

@mike42
Copy link
Owner

mike42 commented Jul 28, 2018

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:

  • The command to switch to an ESC/POS emulation mode
  • Handling of line endings
  • Defaults

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 mike42 changed the title Improve support for ESC/POS displays AF240, OCD-100 Improve support for ESC/POS displays AF240, OCD100 Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant