summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2013-12-01 14:23:38 +0100
committerDavid Lamparter <equinox@diac24.net>2013-12-01 14:23:38 +0100
commit7d0d8794e41330d94758aea810e6549ee3f96160 (patch)
tree23150f61708c14d9d752f292ff568a82452aab78
parent5a39a48655e2f8444f2684c979f43575dc61983c (diff)
random initialisation code changes...
-rw-r--r--pttarget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttarget.py b/pttarget.py
index cb4c118..e0bf7ac 100644
--- a/pttarget.py
+++ b/pttarget.py
@@ -181,7 +181,7 @@ class PTUSB(PTPrinter):
class PTLabelData(object):
def __init__(self):
# margins: '\x1bid\x00\x00' +
- self.init = '\x1biR\x01' + '\x1biM\x00'
+ self.init = '\x1biR\x01' + '\x1biM\x40' + '\x1bid\x00\x00' + '\x1biK\x00'
self.raw = ''
# self.fini = '\x1a' # Z / feed ?
self.fini = '\x0c'