8pt to 10pt

This commit is contained in:
samerbam 2023-08-23 20:09:06 -04:00
parent 3a739ede9c
commit c0c4328e07

View File

@ -132,9 +132,9 @@ class ThermalPrinter():
# convert_to_image(generate_sudoku()) # convert_to_image(generate_sudoku())
sudokus = generate_sudoku() sudokus = generate_sudoku()
convert_to_image(sudokus[0], size=16, flipped=False) convert_to_image(sudokus[0], size=16, flipped=False)
convert_to_image(sudokus[1], size=8, flipped=True) convert_to_image(sudokus[1], size=10, flipped=True)
self.p.set(align="right") self.p.set(align="right")
self.p.image("sudoku_8.png") self.p.image("sudoku_10.png")
self.p.set(align="center") self.p.set(align="center")
self.p.image("sudoku_16.png") self.p.image("sudoku_16.png")
# self.p.close() # self.p.close()