10 lines
184 B
Python
Executable File
10 lines
184 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
from escpos.printer import Serial
|
|
|
|
printer = Serial(devfile='/dev/usb/lp0', baudrate=9600)
|
|
|
|
printer.text("Test")
|
|
printer.qr("https://fotobox.online/")
|
|
printer.cut()
|