The source code for the USB receipt printer ESC/POS library is up on github. See the picture gallery for a printer test showing various text sizes, effects, and a QR code printed in graphics mode. My printer does not have built-in bar code functions (the Adafruit Mini thermal printer does) so all bar codes must be printed as graphics. In addition, the graphics commands for the Adafruint printer do not work on my printer so I added a new function that uses an older graphics mode.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.