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)