python-barcode
python-barcode copied to clipboard
㊙️ Create standard barcodes with Python. No external dependencies. 100% Organic Python.
Hello, and thanks for this very simple to use module ! When generating with code39, and reading the generated barcode with a qr code scanner, it renders with an additionnal...
import barcode from barcode.writer import ImageWriter code=input("Enter Code") EAN = barcode.get_barcode_class('ean8') ean = EAN(code, writer=ImageWriter()) imag = ean.save('barcode') Sometimes these unequal lines appears in my image. Why is that so?...
Just simple question: is it possible to use it to generate EAN14? PyPi says it is possible to use it for EAN14 (https://pypi.org/project/python-barcode/), but doc says just EAN13. Thanks for...
Is there an option to generate the barcode without the plain text?
Looking through the documentation and the code in I found the font_path argument that either defaults to a supplied font or can be passed a path to a different font....
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....
Would you please help us fix bar code letter question (EX:A300113111)? `import barcode from barcode.writer import ImageWriter` `string='A300113111' ean = barcode.get('ean13',string, writer=ImageWriter())` error: raise IllegalCharacterError("EAN code can only contain numbers.")...
I only can change ImageWriter.dpi but font size not correct  (code128 & dpi = 100) And set_options has no effect
https://github.com/WhyNotHugo/python-barcode/commit/cf57e0f7656095e21acfafd636e24c0d8fcc4dff#diff-72b52c7896ac0c98a53aaeeca7e1a787 broke compatibility with pyBarcode, as 'FONT' was an attribute of the global namespace. As a result, an old third party django app I am using broken when I upgrade...
Right now, there is limited ASCII support with Code39. For example, trying to include a `_` in a barcode will produce the error: `IllegalCharacterError: The following characters are not valid...