Ich habe mir einen Mini Thermal Printer QR701 (EH48-20243)  aus China (aliexpress) bestellt.
Der Printer druckt eine Testseite wenn man hinten auf der Platine den Schalter betätigt.

 Mini Thermal Printer QR701 (EH48-20243)

Note to all links: As an Amazon Associate and Aliexpress Affilate, I earn from qualifying purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.

Bei mir druckt er jedoch keine Testseite aus….
The printer was not printing a test page.

Jetzt habe ich den Grund gefunden, ich habe ein zu schwaches Netzteil verwendet (1 A ).Mit einem stärkeren hat es funktioniert..
! Use a power supply > 1A !

Noch ein Tipp:
Pinbelegung beachten !
RX –> Pin ist Blau / Blue
TX –> Pin ist Grün / Green
DTR –> Pin ist Gelb / Yellow ( out it on GND)

Hier noch einige Dokumente

Here is my sketch :

You can also look at
There is also a example directory.

Check also a other blog about the Mini Thermal Printer: (use google translator to translate it)

Attention on the baud rate: On some models the baud rate is 19200 instead of 9600.

Some user comments from my old blog which could be useful

Chinese characters

This printer is slightly different from the one sold by Adafruit or Sparkfun. Mine seemed to have Chinese character mode turned on by default. And it only printed Chinese.

From what I understood from the Chinese data sheet posted here (with the help of Google Translate) the Chinese mode could be switched off with printer command „FS .“ or „28 46“ in decimal (page 34).

I could make my qr701 work with Raspberry Pi and Adafruit_Thermal library by modifying the library’s __init__ method to include the following command: self.writeBytes(28, 46). Just put it somewhere in the end of the method. This solved it for me. The printer occasionally prints a page in Chinese but then reverts to normal. I have yet to understand why it does that.

Now another problem I had was that the printer did not want to print Russian characters (I am Russian). So I had to force it to use another code page with command self.writeBytes(27, 116, 7) where 7 is the number of the code page with Cyrillic characters from the data sheet (page 45).

Hope this helps. Or it least gives clue where to look for an answer. Cheers, fellow makers.

Another hint could be

//for Cancel Chinese character mode, see page 39 of 701print-driver-board.pdf
//methode writeBytes need to be declared public in Adafruit libary (Adafruit_Thermal.h)
// you can try also the function printer.setCodePage(CODEPAGE_CP437)
// look at Adafruit_Thermal.h for all options

Leave a comment

Your email address will not be published. Required fields are marked *