diff --git a/application/thermal_print.py b/application/thermal_print.py index 5671289..2b863b9 100644 --- a/application/thermal_print.py +++ b/application/thermal_print.py @@ -94,14 +94,14 @@ class ThermalPrinter(): # for s in range((len(x[0])+1)): # self.p.text(" ") - output.append( (" "*(32-(len(x[0])+1)))+t ) + self.p.text( (" "*(32-(len(x[0])+1)))+t+"\n" ) # self.p.text(t + "\n") - print(output) - for l in output: - print(l) - self.p.text(l + "\n") + # print(output) + # for l in output: + # print(l) + # self.p.text(l + "\n") self.p.text("\n") self.p.set(align="left") self.p.text("\n")