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/

by marsman12019 on Mon Oct 21, 2013 4:03 pm

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!
marsman12019
 
Posts: 10
Joined: Wed Jan 18, 2012 12:02 am