From 9023d22e71edc24bf2a5668a738d4dd0d3b93c22 Mon Sep 17 00:00:00 2001 From: Manuel F Martinez Date: Thu, 30 May 2013 08:56:33 -0700 Subject: [PATCH] Added syntax to have print working on windows --- escpos/escpos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/escpos/escpos.py b/escpos/escpos.py index 7881372..91d71fc 100644 --- a/escpos/escpos.py +++ b/escpos/escpos.py @@ -63,7 +63,7 @@ class Escpos: 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: raise ImageSizeError()