Provide a command line interface to simulate GNU barcode. Options available are
Command Line Options
- -b barcode_data. [Required] Specify the barcode data. If the EAN128 encoding is
specified, then this data will be parsed (See EAN128 parsing below).
- -o filename. Write the barcode output to the specified file.
- -e encoding. Use the specified encoding for the barcode.
Options available are:
- -E. Write the output as Encapsulated Postscript (EPS). The default
output format is a PNG image.
- -label label_file. Write the human readable text output to the specified file.
This is useful for situations where barbecue calculates a check digit.
EAN 128 Parsing
Barbecue will parse barcode data if the encoding is specified as ean128. The
application identifiers should be enclosed in round brackets. For example:
(01)0941919600001(10)012004(21)000001
Specifies a GTIN (application id 01) with a lot number of 012004 and an item number
of 000001.
Examples
java -jar barbecue.jar -e ean128 -b "(01)0941919600001(10)012004(21)000001" -E -o test.eps