QRprint icon indicating copy to clipboard operation
QRprint copied to clipboard

Chinese characters instead of qrcode

Open patriciorivera opened this issue 9 years ago • 1 comments

Hi Grintor! Thanks for your library. Im trying to use it, but running the example instead of qrcode I am having a block of chinese characters. Thermal library and the printer is working ok. The baudrate is ok too. the model of the printer is: [url]https://ebc81.files.wordpress.com/2014/08/701print-driver-board.pdf[/url]

Any help? Thanks in advance!

patriciorivera avatar Jun 16 '15 07:06 patriciorivera

That pdf gives a 404, but I'm pretty sure that the issue is that the characters are mapped differently on your printer than the one I made the library for. look inside qrprint.cpp and edit the lines "black square on top of black square", "white square on top of black square", and "black square on top of white square" so that the written byte corresponds to a character that matches that description in the character map for your printer. (if the printer doesn't have a character that looks like that, then you may be out of luck) this is the printer this library was made for: https://www.sparkfun.com/products/10438

grintor avatar Jun 18 '15 13:06 grintor