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

sending to a EPSON TM-T20II don't work with ESP32-S3 #10

Open
daninavarro10 opened this issue Jan 4, 2023 · 1 comment
Open

sending to a EPSON TM-T20II don't work with ESP32-S3 #10

daninavarro10 opened this issue Jan 4, 2023 · 1 comment

Comments

@daninavarro10
Copy link

I tried the usbhprinter example with the same hardware connection as the example but with an EPSON TM-T20II and a ESP32-S3-devkit-M-1 instead.

I made a print test in order to see if can be printed and the first time never prints. It does not get any error on the print queue but the ESP32-S3 restarts itself. As I am using the serial port I can't see why it's restarting. Next time I print without flashing the code it prints.

This also happens when I try to send from a real POS to the ESP32 and then to the printer. The second time I try to print it prints but with a lot of spaces in between (0x20 in hex).

If I use YAT (or another terminal program) in the selected port to send the ticket it works well. But my main goal is to be able to print a real ticket from a real POS.

Any idea of why is restarting itself whenever I send from a POS?
Thank you.

@urobot2011
Copy link

I heard that older EPSON printers use their own protocol :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants