python-barcode
python-barcode copied to clipboard
㊙️ Create standard barcodes with Python. No external dependencies. 100% Organic Python.
For instance ```python from barcode import get_barcode_class CODE128 = get_barcode_class('code128') code128 = CODE128('12345') code128.save('test', options={'human': 'This is a \n test'}) ```  The newline character "\n" has no effect.
Hello, I would like to know if there is the possibility of put a text above the bar code? text here ||IIIIIIllllllllII|| 12345679 Thanks for your help.
So I see on SVG there is an option for human readable but the option does not work for ImageWriter
I am trying to create barcodes using PyBarcode for UPCA instead it is creating EAN13 code in .png format. How to get .it in jpg format. ```python import barcode from...
Hello, I´m trying to set the quiet_zone very low. e.g. 0.6. I fixed the order in the base.py render function: Line 105 and 106: Removed this: options = Barcode.default_writer_options.copy() options.update(writer_options...
I am using the library for generating Code128 barcodes which will later be integrated in another image. Without setting any writer options the default values for the ImageWriter are: DPI=300...
I'm trying to generate 43 digits barcode, but the barcode generated is shorter, 35 digits. how can I generate the entire string? this is the code I use: `mystr="0024591002013166513116148610000000100005891"` `EAN...
Here is my code: ``` import barcode from barcode.writer import ImageWriter varGS1 = barcode.get_barcode_class('gs1') varGS1out = varGS1(u'42053005383691149014', writer=ImageWriter) fullname = varGS1out.save('C:\\Users\\PaulPers\\Desktop\\GS1_barcode') ``` and I get the following error: > Traceback...
EAN14 barcode is not interchangeable with ITF-14
I believe text is incorrectly located in barcode when using ImageWriter as of 0.14.0. This is mainly due to a wrong computation of text height which is a very common...