signalwerk / thermalprinter

A Library to control an Epson TM-T88II thermal printer (microprinter) by an arduino via serial connection
MIT License
35 stars 19 forks source link

Added justification options #1

Closed docwisdom closed 9 years ago

docwisdom commented 9 years ago

Per the TM-88 documentation I added the ability to justify the text left, center or right.

signalwerk commented 9 years ago

looks good to me. thank you for the pull request!

docwisdom commented 9 years ago

Thanks! do you know how I might implement reading the status of the printer? I know the status command is 1D 72 1 but im not sure how to read the response back from it. I have written a few lines of code but all i am getting in response is FF but am expecting 03

signalwerk commented 9 years ago

@docwisdom Sorry I have no working setup at the moment to test that. You could add a function to the lib and open an Issue at the same time. I can then have a look at it as soon as I have a setup again.