Update escpos.py
Set block_text to use the default font. This means calls will wrap to full paper width.
This commit is contained in:
parent
620cf97bbf
commit
69e9b9103e
|
@ -539,7 +539,7 @@ class Escpos(object):
|
|||
if count > 0:
|
||||
self.text('\n' * count)
|
||||
|
||||
def block_text(self, txt, font=None, columns=None):
|
||||
def block_text(self, txt, font="0", columns=None):
|
||||
""" Text is printed wrapped to specified columns
|
||||
|
||||
Text has to be encoded in unicode.
|
||||
|
|
Loading…
Reference in New Issue