Java UPC-A Barcode Generator

Generate, draw & print UPC-A in Java applications with Java barcode generation component
Java Barcode Trial Package
Download
Java Barcode Trial Package
Java UPC-A Barcode Generator - Benefits
To encode UPC-A for Java Application

Mature Java UPC-A generator

Mature Java UPC-A generator is completely developed in Java on any operating systems with Java Virtual Machine

Applet

Applet is easy to integrate UPC-A on Web pages with compatible Web browsers.

Support Java Development Environment

  • Easy to generate and print UPC-A barcode in JSP, Servlet, EJB, J2EE, Web service.
  • Easy to generate and draw UPC-A barcode in Java Class, Swing, Applet, Java Bean, J2SE.
  • Easy to create and output UPC-A barcode in Jasper Reports, iReport, Eclipse BIRT, Oracle Reports.

Support ISO Standard

Compatible with ISO / IEC 16388 (2nd edition 2007-05-15)


Barcode Size Options

Easily customize barcode size, including UPC-A, Y dimension, barcode width and height, alignment, margin of right, left, top and bottom.
Java UPC-A Barcode Generator --- Overview
Java UPC-A Generator is easy to create high-quality linear barcodes images of JPEG, GIF, PNG, BMP, and AWT formats in Java, Java Class, J2EE applications. It is easy to integrate this product into your Java IDEs.

UPC-A Introduction

UPC-A is at present the most common and well-known barcode symbology, at least in the United States. It appears on virtually every consumer good on the shelves of local supermarket, as well as books, magazines, and newspapers.
Java UPC-A symbology encodes:
Numeric Characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Java UPC-A Generator --- Generating Barcode

Generate UPC-A in Java class by customizing barcode properties.

// Create Java UPC-A object
UPCA barcode = new UPCA();
// Set UPC-A data text to encode
barcode.setData("87654321321");
// Generate UPC-A & print into Graphics2D object
barcode.drawBarcode("Java Graphics2D object");
// Generate UPC-A & encode into GIF format
barcode.drawBarcode("C://barcode-upca.gif");
// Generate UPC-A & encode into JPEG format
barcode.drawBarcode("C://barcode-upca.jpg");

Generate & encode UPC-A to EPS by changing the concerned values.

// Create Java UPC-A object
UPCA barcode = new UPCA();
// Set UPC-A data text to encode
barcode.setData("87654321321");
// Generate UPC-A & encode into EPS format
barcode.drawBarcode2EPS("C://barcode-upca.eps");

Generate & encode UPC-A in html or jsp pages.

Add barcode folder and its contents from demo package to Apache Tomcat.
Start Apache Tomcat, go to http://YourDomain:Port/barcode/barcode?DATA=87654321321&TYPE=UPCA
Add an image tag (img) into your target page. Like following one,

Customize the width and height of generated UPC-A image

You can choose to set the values of the barcodeWidth and barcodeHeight properties or set UPC-A (bar module width) and Y (bar module height) values.
Java UPC-A Generator --- Setting UPC-A Properties
  • UPC-A Basic Settings
  • UPC-A Size Settings
  • UPC-A Related Settings
  • UPC-A Text Settings
  • UPC-A Color Settings
  • UPC-A Image Settings