Open pawelmalak opened 4 years ago
I have same issue, did you resolve that?
Unfortunately, I did not. I tried different configurations and sample codes but I couldn't get around it and since it only was my side project I just gave up on it. Are you using it with Raspberry Pi by any chance?
All right, the issue is in init code, here's the fix in file thermalprinter.py:
- # Printer settings
- self.send_command(Command.ESC, 55, self.most_heated_point,
- self.heat_time, self.heat_interval)
It seems that printer which you (and I) have don't support these commands.
@pawelmalak, and @zbyrek, what is your printer model?
Dear @BoboTiG , I experience that same problem with QR701 priter bought on AliExpress The fix from @zbyrek works fine, no other side effects observed, although no characters other than ASCII are used.
As in the title, every time I'm trying to print something, a new line with the letter 'P' is added.
I tried the sample code from README > Usage and got this as a result:
And later I tried to print only new lines with this code...
... with this as a result:
Any idea what might be causing it?
Upvote & Fund