python-barcode icon indicating copy to clipboard operation
python-barcode copied to clipboard

better formating for GS1_128

Open stonebig opened this issue 2 years ago • 1 comments

I would think about 3 patches, relative to gs1_128, not sure were to place them:

  • having a text with the Application Identifiers betwen parenthesis, optionaly having the said text with spacing for the SSCC code (to hard to retype otherwise)
  • avoiding repeating u'\xf1' if already written per the user
  • u'\xf1' is not super ... allow also the use of '<FNC1>' (translated when writing)

it would so something like that:

image

image

what of these ideas would be considered pertinent for python-barcode team ?

stonebig avatar May 29 '23 00:05 stonebig

what of these ideas would be considered pertinent for python-barcode team ?

Generally, improvements are welcome as long as backwards compatibility is maintained and it doesn't break anything.

Suport for '<FNC1>' sounds reasonable and useful.

I'm not sure I fully understand the parenthesis. Do you just allow then in the input but ignore them for the barcode itself?

WhyNotHugo avatar Sep 20 '23 14:09 WhyNotHugo