Adding non-printing characters to barcode using Treepoem and BWIPP (Python)

108 views Asked by At

I am using barcodes to automate data entry, so I'd like to add non-printing characters to the barcode. The parse option should be able to do it, but as there's minimal error generation between the Treepoem frontend and BWIPP, it's been challenging to understand what I'm missing.

image = treepoem.generate_barcode(barcode_type="datamatrix",
                                  data="hello^TABworld",
                                  options= {"parse": True})
image.convert("1").save("output_barcode.png")

I'm getting this barcode Datamatrix with data: hello^TABworld, instead of this Datamatrix with data: hello    world

0

There are 0 answers