fixed code tabulators
This commit is contained in:
parent
8a3850ea64
commit
708f7e97d1
|
@ -21,3 +21,4 @@ CHANGELOG
|
||||||
- Issue #20: Added Density support (Sent by thomas.erbacher@ragapack.de)
|
- Issue #20: Added Density support (Sent by thomas.erbacher@ragapack.de)
|
||||||
- Added charcode tables
|
- Added charcode tables
|
||||||
- Fixed Horizontal Tab
|
- Fixed Horizontal Tab
|
||||||
|
- Fixed code tabulators
|
||||||
|
|
|
@ -31,7 +31,7 @@ class Usb(Escpos):
|
||||||
self.interface = interface
|
self.interface = interface
|
||||||
self.in_ep = in_ep
|
self.in_ep = in_ep
|
||||||
self.out_ep = out_ep
|
self.out_ep = out_ep
|
||||||
self.open()
|
self.open()
|
||||||
|
|
||||||
|
|
||||||
def open(self):
|
def open(self):
|
||||||
|
@ -151,7 +151,7 @@ class File(Escpos):
|
||||||
|
|
||||||
def open(self):
|
def open(self):
|
||||||
""" Open system file """
|
""" Open system file """
|
||||||
self.device = open(self.devfile, "wb")
|
self.device = open(self.devfile, "wb")
|
||||||
|
|
||||||
if self.device is None:
|
if self.device is None:
|
||||||
print "Could not open the specified file %s" % self.devfile
|
print "Could not open the specified file %s" % self.devfile
|
||||||
|
|
Loading…
Reference in New Issue