Thermal Printer - Status

I (the Arduino) want to know, that the printer is connected.

Currently my program is doing that:

Arduino starts

Printer offline(), → the led of the printer is off - I can see that the printer is connected

NOW I want the show on a display

Printer connected: yes/no

The Printer has to communicate with the Arduino.

How can I do that?

Hello, and thanks for your post!

If you have a look at the data sheet, there’s a command on page 10 that returns the current status of the printer.

With that command you can tell if the printer is connected, if it has paper, if there is a power issue or if the printhead is overheating. The data sheet can be found at the link below.

  • [[Thermal Control Board User Manual](https://www.sparkfun.com/datasheets/Components/General/Driver%20board.pdf)
  • [/list]

    You can also find some sample code and a tutorial at the links below.

  • - [[Sample code](https://github.com/sparkfun/Thermal_Printer/blob/master/Firmware/ThermalPrinter_Example.ino)
  • - [[TronixStuff Tutorial](http://tronixstuff.com/2011/07/08/tutorial-arduino-and-a-thermal-printer/)
  • [/list]

    Happy Hacking! :-)](http://tronixstuff.com/2011/07/08/tutorial-arduino-and-a-thermal-printer/)](Thermal_Printer/Firmware/ThermalPrinter_Example.ino at master · sparkfun/Thermal_Printer · GitHub)](https://www.sparkfun.com/datasheets/Components/General/Driver%20board.pdf)