From 48e1a52da81060e50d0ff99316968bf3a4136771 Mon Sep 17 00:00:00 2001 From: samerbam Date: Wed, 23 Aug 2023 10:23:59 -0400 Subject: [PATCH] even more debug --- application/thermal_print.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/thermal_print.py b/application/thermal_print.py index 0bd6a4c..f9609ed 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -68,7 +68,7 @@ class ThermalPrinter(): # print(x) this_line_width = len(x[0])+len(x[1]) - # self.p.charcode("cp437") + self.p.charcode("CP437") self.p.set(align="left") self.p.text(x[0]) @@ -96,6 +96,7 @@ class ThermalPrinter(): # self.p.text(t + "\n") + print(output) for l in output: print(l) self.p.text(l)