From 0516ad0b6adc3f53e62746177788ac79f1b1ada2 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sun, 1 Dec 2013 15:55:43 +0100 Subject: support copies, add feed+cut switch --- pttarget.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pttarget.py') diff --git a/pttarget.py b/pttarget.py index e0bf7ac..37f6509 100644 --- a/pttarget.py +++ b/pttarget.py @@ -183,8 +183,6 @@ class PTLabelData(object): # margins: '\x1bid\x00\x00' + self.init = '\x1biR\x01' + '\x1biM\x40' + '\x1bid\x00\x00' + '\x1biK\x00' self.raw = '' - # self.fini = '\x1a' # Z / feed ? - self.fini = '\x0c' def addpixels(self, raw): row = 'G' + struct.pack('