PEP8 software barcode example
This commit is contained in:
parent
22cf6ad00b
commit
d348712439
|
@ -1,8 +1,9 @@
|
||||||
from escpos.printer import Usb
|
from escpos.printer import Usb
|
||||||
|
|
||||||
|
|
||||||
# Adapt to your needs
|
# Adapt to your needs
|
||||||
p = Usb(0x0416, 0x5011, profile="POS-5890")
|
p = Usb(0x0416, 0x5011, profile="POS-5890")
|
||||||
|
|
||||||
# Some software barcodes
|
# Some software barcodes
|
||||||
p.soft_barcode('code128', 'Hello')
|
p.soft_barcode('code128', 'Hello')
|
||||||
p.soft_barcode('code39', '123456')
|
p.soft_barcode('code39', '123456')
|
||||||
|
|
Loading…
Reference in New Issue