Custom text #77
Labels
No labels
api-inconsistency
automerge
bug
contributions welcome
documentation
duplicate
enhancement
good first issue
invalid
more-information-needed
question
sync
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WhyNotHugo/python-barcode#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
would it be possible to create feature to include different text than the label says. i.e. label is ABC-123 and I would like to print under the barcode only 123. thx
EAN8(label).write(f, {'write_text': False, 'text': "%s\n123. thx" % (label)})
'write_text': Falsemakes it turn off the default text.'text': "my new text"changes the default text to that new text.Turn off the default then turn, write your own, including the original label.
I couldn't get this inline method working. I was able to get @QuickLearner171998 's method to work.
To adapt it to this scenario, it'd look like: