code128draw
Overview
code128draw -f jpeg_file -b barstring -w width -h height
Code128draw creates a jpg format file containing a Code 128 format barcode in any one of the symbol sets A, B or C.
Options
| -b barstring | Text to encode. |
| -c charset | Code 128 symbol set. Must be either a, b or c. Note that symbol set c requires an even number of digits. |
| -f jpegfile | Path of jpg file to create. |
| -h height | Height of image in pixels. |
| -w width | Width of image in pixels. |
Example
Create an alpha-numeric barcode in symbol set b:
code128draw -f file.jpg -b "ABC12345678" -c b -w 300 -h 100
Create a double density numeric barcode in symbol set c:
code128draw -f file.jpg -b "12345678" -c c -w 200 -h 100