adafruit / Python-Thermal-Printer

216 stars 148 forks source link

Implement experimental DTR handshake #28

Open derekolson opened 6 years ago

derekolson commented 6 years ago

I'm attempting to implement the hardware handshake in #27 based on the arduino printer library. However, I'm having issues getting it to work correctly. Any pointers would be appreciated!

paulhayes commented 6 years ago

Hi @derekolson Did you make an progress on this?

paulhayes commented 6 years ago

It seems it might be possible to do this directly on the serial interface by enabling flow control rather than through the python script using GPIO.

https://github.com/mholling/rpirtscts

derekolson commented 6 years ago

@paulhayes apologies for the extreme delay on this... but I got this working for a project awhile back. If you were still interested its in a branch here: https://github.com/derekolson/Python-Thermal-Printer/tree/dtr-handshake

paulhayes commented 6 years ago

Fab, thanks @derekolson!