Suppress echo from printer
parent
34204899e6
commit
d088e2d36f
|
@ -32,7 +32,7 @@ if __name__ == '__main__':
|
||||||
tfilename=os.path.basename(sys.argv[1])
|
tfilename=os.path.basename(sys.argv[1])
|
||||||
print "Uploading: "+filename," as "+dosify(tfilename)
|
print "Uploading: "+filename," as "+dosify(tfilename)
|
||||||
p=printcore.printcore('/dev/ttyUSB0',115200)
|
p=printcore.printcore('/dev/ttyUSB0',115200)
|
||||||
p.loud=True
|
p.loud=False
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
blupload(p,tfilename,filename)
|
blupload(p,tfilename,filename)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue