Makesh Arinha Valappil

Results 2 comments of Makesh Arinha Valappil

See the set option here : https://python-barcode.readthedocs.io/en/stable/writers/index.html?highlight=number_of_lines use this way : from io import BytesIO from barcode import EAN13 options = { "module_width": 0.1, "module_height": 7, "quiet_zone": 0.1, "write_text": False,...

Use the options this way , from barcode import ITF from io import BytesIO stream = BytesIO() options = { "module_width": 0.1, "module_height": 2, "quiet_zone": 0.1, "write_text": False, "text_distance": 2,...