Académique Documents
Professionnel Documents
Culture Documents
Barcode for Java Barcode for .NET Barcode Reader for .NET Barcode Fonts Barcode Generator Purchase
Home > Java Barcode Generator > Java Barcode Generation Guide > Java UPC-A Barcodes Generator
Quick Navigate
Java Barcode Generator
5. How to Generate UPC-A Image in Jasper Reports, iReport, Eclipse BIRT? License & Prices
UPC-A is used for marking products which are sold at retail in the USA. The barcode identifies the manufacturer and specific product so point-of- sale cash
register systems can automatically look up the price.
The UPC-A Code and the assignment of manufacturer ID numbers is controlled in the U.S.A. by the Uniform Code Council (UCC).
The Add-On Symbols were designed to encode information supplementary to that in the main bar code symbol on periodicals and paperback books. The Add-On
can be composed of 2 or 5 digits only.
The following Java code illustrates how to create a UPC-A barcode, and output to various formats
7 Graphics2D g = ...
8 Rectangle2D rectangle = ...
9 linear.renderBarcode(g, rectangle);
There are two methods to create UPC-A barcode images in your Java web applications.
1. The simplest way is to stream barcode image using our buildin barcode servlet application.
Download the Barcode for Java Trial Package, and unzip it.
Under java_barcode_trial package, copy barcode folder to your java servlet container like tomcat.
To create barcode image in your JSP or html page, you need pass the url to IMG tag src value. For example,
<img src="http://YourDomain:Port/barcode/linear?Data=01234567890&Type=UPCA" />
Using this method, it will not generate any barcode images in your server side.
In your JSP or HTML page, you need use IMG tag to display generated image, like
<img src="http://YourDomain:Port/YourWebApp/barcode-images/barcode.gif" />
5. How to Generate Barcode UPC-A Image in Jasper Reports, iReport, Eclipse BIRT?
How to generate UPC-A barcodes in Jasper Reports using Barcode for Java library?
How to generate UPC-A barcodes in iReport using Barcode for Java library?
How to generate UPC-A barcodes in Eclipse BIRT using Barcode for Java library?
Default value is 0.
Servlet URL Parameter: "Rotate". Sample: &Rotate=0
Codabar Identcode
Code 11 Leitcode
Code 2 of 5 Code 128
Code 39 GS1-128 / EAN-128
Code 93 MSI
EAN 8 Onecode
EAN 13 PLANET
ISBN POSTNET
ISSN RM4SCC (British Royal Mail 4-State Customer
ITF14 Barcode)
Interleaved 2 of 5 UPC-A
UPC-E
Data Matrix
PDF-417
QR-Code
Copyright 2010 BarcodeLib.com. Java Barcode, Barcode Java, Java Barcode Generator. All rights reserved.