|
|
@ -10,7 +10,7 @@ print(text)
|
|
|
|
print("------")
|
|
|
|
print("------")
|
|
|
|
lines = text.split("\n")
|
|
|
|
lines = text.split("\n")
|
|
|
|
for line in lines:
|
|
|
|
for line in lines:
|
|
|
|
dotprint = f'echo "{line}" > /dev/usb/lp0'
|
|
|
|
dotprint = f'echo "{line}" >/dev/usb/lp0'
|
|
|
|
os.system(dotprint)
|
|
|
|
os.system(dotprint)
|
|
|
|
#for line in fantasyname:
|
|
|
|
#for line in fantasyname:
|
|
|
|
#line = line.split(" ")
|
|
|
|
#line = line.split(" ")
|
|
|
|