net.sourceforge.barbecue
Class Main

java.lang.Object
  extended bynet.sourceforge.barbecue.Main

public class Main
extends java.lang.Object

Provide a command line interface to simulate GNU barcode. Options available are

Command Line Options

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


Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void outputEPS(Barcode barcode, java.io.OutputStream fos)
           
static void outputPNG(Barcode barcode, java.io.OutputStream fos)
           
static void outputSVG(Barcode barcode, java.io.OutputStream fos)
           
static void Usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)

Usage

public static void Usage()

outputPNG

public static void outputPNG(Barcode barcode,
                             java.io.OutputStream fos)

outputSVG

public static void outputSVG(Barcode barcode,
                             java.io.OutputStream fos)

outputEPS

public static void outputEPS(Barcode barcode,
                             java.io.OutputStream fos)


Copyright © 2003-2007 barbecue.sourceforge.net. All Rights Reserved.