ducky64 / labelmaker

Labelmaker using SVG templates and CSV data
GNU General Public License v2.0
8 stars 5 forks source link

howto user barcode #9

Open fadeldamen opened 8 years ago

fadeldamen commented 8 years ago

I need sample for barcode do you helpme.

ducky64 commented 8 years ago

Currently, only code 128 is supported (but feel free to add more and submit a pull request, code128 is implemented in terms of pictures, so anything that can generate a picture can be plugged in).

If code128 is fine for your needs, the example template (in tests/testtemplate.svg) generates code128 barcodes from the data row 'desc' in tests/testdata.csv. The documentation in README.md should explain the syntax.

You can generate the test data set using this command: python labelmaker.py tests/testtemplate.svg configs/1.75in_x_0.5in_4x6.ini tests/testdata.csv gen.svg while in the repository root directory. This generates gen_0.svg.