FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-escpos/examples/software_barcode.py at development · python-escpos/python-escpos · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python-escpos
/
python-escpos
Public
Notifications
You must be signed in to change notification settings
Fork
315
Star
1.3k
Code
Issues
60
Pull requests
12
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-escpos
/
examples
/
software_barcode.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (6 loc) · 195 Bytes
Breadcrumbs
python-escpos
/
examples
/
software_barcode.py
Copy path
File metadata and controls
9 lines (6 loc) · 195 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
from
escpos
.
printer
import
Usb
# Adapt to your needs
p
=
Usb
(
0x0416
,
0x5011
,
profile
=
"POS-5890"
)
# Some software barcodes
p
.
soft_barcode
(
'code128'
,
'Hello'
)
p
.
soft_barcode
(
'code39'
,
'123456'
)
Back
|
FazBrowse Home
|
New Git URL