mirror of
https://github.com/python-escpos/python-escpos
synced 2025-08-24 09:03:34 +00:00
Added syntax to have print working on windows
This commit is contained in:
@@ -63,7 +63,7 @@ class Escpos:
|
|||||||
|
|
||||||
|
|
||||||
if im.size[0] > 512:
|
if im.size[0] > 512:
|
||||||
print "WARNING: Image is wider than 512 and could be truncated at print time "
|
print ("WARNING: Image is wider than 512 and could be truncated at print time ")
|
||||||
if im.size[1] > 255:
|
if im.size[1] > 255:
|
||||||
raise ImageSizeError()
|
raise ImageSizeError()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user