B4R Question Thermal printer library

Peter Simpson

Expert
Licensed User
Longtime User
Have you got an example of the actual c code needed?
 
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime User
hello,
do you think it is better to follow this tutorial and write <ESC> code functions in code module than wrapping the library?, it is easy to send printer <ESC> codes via serial connection.
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
The code that you linked to appears to be pretty straight forward, when I get back to my house I'll have I proper look at it for you. ESC codes are pretty simple via serial(RS232), Bluetooth and WiFi/LAN. With Erels inline C code integration is should be pretty simple to incorporate the above linked code into your B4R project.

I don't have the recommended printer in your link to test code on Arduino (positive, negative and three extra connection to the Arduino via the Adafruit library), but I'll see if I can send standard EPSON ESC codes to one of my printers from an Arduino. Either way I'll let you know on Monday.
 
Last edited:
Upvote 0
Top