|
|
@ -63,7 +63,7 @@ class ThermalPrinter():
|
|
|
|
self.p.text("\n\n")
|
|
|
|
self.p.text("\n\n")
|
|
|
|
# pass #TODO: add other greetings?
|
|
|
|
# pass #TODO: add other greetings?
|
|
|
|
|
|
|
|
|
|
|
|
def print_todos(self, todos=[{"time": "1:00pm to 2:00pm", "text": "Read a book"}]):
|
|
|
|
def print_todos(self, todos=[{"time": "1:00pm-2:00pm", "text": "Read a book"}]):
|
|
|
|
for x in self._parse_todos(todos):
|
|
|
|
for x in self._parse_todos(todos):
|
|
|
|
# print(x)
|
|
|
|
# print(x)
|
|
|
|
# self.p.charcode("cp437")
|
|
|
|
# self.p.charcode("cp437")
|
|
|
|