zint / zint-gpl-only

Zint Barcode Generator
https://zint.org.uk/
GNU General Public License v3.0
522 stars 137 forks source link

Batch mode broken: file numbering not corresponding to line numbers, lines skipped #65

Closed RipperFox closed 2 years ago

RipperFox commented 6 years ago

Thanks for this great piece of software - just a little issue I discovered with version 2.4.2.0 on Windows:

The filenames in batch mode are generated wrongly:

Gets worse with more lines: With an input file with some thousand lines line 1000 was written to 00001.png - seems a problem of how the filename is put together.

Output of ####.png is wrong also, but different; the @ character doesn't work at all (maybe commandline issue/limitation on Windows)

Documentation states: "By default Zint will output numbered filenames starting with 00001.png ,00002.png etc. To change this behaviour use the ­o option..." but when "-o" is missing, only one file called "out.png" is (over-)written. ­­

mikemaikaefer commented 6 years ago

This is not the original ZINT repository but an outdated fork only. Please refer to the original ZINT project at sourceforge.net!

gitlost commented 2 years ago

Hi, thanks for reporting this. The current version doesn't seem to have the data/line problems you report, but as you say it doesn't default to producing "00001.png", "00002.png" etc. as documented. Also for Windows asterisk isn't allowed in filenames so fails. I've opened a ticket on SourceForge https://sourceforge.net/p/zint/tickets/263/ for these issues, please see that for further info. As this fork is no longer in use, am closing this, but the ticket on SourceForge will remain open until the next release for any further feedback you care to give. Thanks you.