From 69e9b9103ecf1076680f6896fbc597cb568602b7 Mon Sep 17 00:00:00 2001 From: "B. Howell" Date: Sat, 28 Nov 2020 00:41:11 +0100 Subject: [PATCH] Update escpos.py Set block_text to use the default font. This means calls will wrap to full paper width. --- src/escpos/escpos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index de4ee09..012bb17 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -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.