In a PDF417 barcode where number of columns are fixed, how would I calculate the number of rows required for some text?
问题 I need to generate a PDF417 barcode from some text. I have an API (that I didn't create) that generates a PDF417 barcode given the data, number of rows and number of columns (among other parameters irrelevant to the question). My PDF417 barcode uses text encoding. This means 1 codeword can hold up to 2 characters. Now, the number of columns HAS to be fixed because I'm printing this barcode in a very constrained space. The following is what I have inferred from this document (Refer page 38 -