Thermal Printer: Font-B and Upside Down

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
marsman12019
 
Posts: 11
Joined: Wed Jan 18, 2012 1:02 am

Thermal Printer: Font-B and Upside Down

Post by marsman12019 »

In your python library for the Thermal Printer, there's no support for Font-B. I was wondering if you were planning on adding that any time soon?

I managed to get it to work with

Code: Select all

def fontBOn(self):
		self.writeBytes(27, 33, 1)

def fontBOff(self):
		self.writeBytes(27, 33, 0)
to turn it on and off, but your

Code: Select all

self.setPrintMode(self.MASK)
code is much prettier (and beyond me).

Also, when I try to upside-down Font-B, it won't flip, even though the rest of the text (Font-A, I guess) does. Am I SOL here, or is there something I'm missing?

Thanks in advance for the help!

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”