code128
code128 copied to clipboard
Fix fnc3 and win versioning
- some codes that start with FNC3 returns "Invalid character in string"
- add version number to Windows build
Hi @gpongelli! Do you have an example of a string that fails?
sure!
take a look at this barcode
you can find it into the QuickScan QD2200 Product Reference Guide, page 25.
the label, expressed using this library's input, is [FNC3]RevA\r:
- using the actual master's commit, the above string will exit with "invalid character in string" due this if block, even if estimate_length's return value is not zero
- using this fix, the above string will correctly generate the label
FYI this changes works only on windows.
on raspberry hw, I still get "Invalid characters in string".
last commit fixes ARM execution (linux) and works also for x86 (windows).