Examples of all supported symbologies - Barcode4J - SourceForge

Examples of all supported symbologies - Barcode4J - SourceForge Examples of all supported symbologies - Barcode4J - SourceForge

barcode4j.sourceforge.net
from barcode4j.sourceforge.net More from this publisher
27.12.2014 Views

Hello World! as Code 128 Examples of all supported symbologies Hello World! Interleaved 2 of 5 0123456789 ITF-14 1 54 00141 28876 Code 39 0123456789 Code 128 0123456789 EAN-128 (01)01234567890128(10)0123456789(15)041220 Codabar 0123456789 UPC-A 0 0 1 2 3 4 5 6 7 8 9 5 UPC-E 0 1 2 3 4 1 3 3 This PDF was generated using Barcode4J (http://barcode4j.sourceforge.net) and Apache FOP (http://xmlgraphics.apache.org/fop/)

Hello World! as Code 128<br />

<strong>Examples</strong> <strong>of</strong> <strong>all</strong> <strong>supported</strong> <strong>symbologies</strong><br />

Hello World!<br />

Interleaved 2 <strong>of</strong> 5<br />

0123456789<br />

ITF-14<br />

1 54 00141 28876<br />

Code 39<br />

0123456789<br />

Code 128<br />

0123456789<br />

EAN-128<br />

(01)01234567890128(10)0123456789(15)041220<br />

Codabar<br />

0123456789<br />

UPC-A<br />

0 0 1 2 3 4 5 6 7 8 9 5<br />

UPC-E<br />

0 1 2 3 4 1 3 3<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)


EAN-13 (with supplemental)<br />

12<br />

2 0 0 1 2 3 4 5 6 7 8 9 3<br />

EAN-8<br />

2 0 1 2 3 4 5 1<br />

POSTNET<br />

Royal Mail Customer Barcode<br />

USPS Intelligent Mail Barcode (4-State Customer<br />

Barcode)<br />

PDF417<br />

DataMatrix<br />

DataMatrix<br />

DataMatrix<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)


The serial number <strong>of</strong> my USB 2.0 hub. (Code 128)<br />

Real-life examples<br />

O5-2C0272AD0126<br />

A book: Code Complete by Steve McConnell,<br />

ISBN 1-55615-484-4 (EAN-13)<br />

9 7 8 1 5 5 6 1 5 4 8 4 3<br />

The german "Java Magazin" issue 4.03 (EAN-13<br />

with supplemental)<br />

04<br />

4 1 9 4 5 8 6 7 0 5 5 0 6<br />

Nutella chocolate spread (EAN-8)<br />

8 0 1 3 5 4 6 3<br />

Swiss Post: PostPac Priority marker (Code 128)<br />

Swiss Post: PostPac tracking number (Code 128)<br />

99.00.805300.05275708<br />

The special reference symbol from ISO/IEC<br />

16022:2000(E) (Annexe T.2) (DataMatrix)<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)


Feature demonstrations<br />

EAN-13 (default)<br />

2 0 0 1 2 3 4 5 6 7 8 9 3<br />

EAN-13 (human-readable message on top) 2 0 0 1 2 3 4 5 6 7 8 9 3<br />

EAN-13 (no human-readable message)<br />

EAN-13 (height to 5mm)<br />

2 0 0 1 2 3 4 5 6 7 8 9 3<br />

EAN-13 (without quiet zone)<br />

0 0 1 2 3 4 5 6 7 8 9 3<br />

EAN-13 (with a bigger quiet zone)<br />

2 0 0 1 2 3 4 5 6 7 8 9 3<br />

Ean 128 (with extention for USPS Confirmation<br />

Service. I do not realy know what this is good for but<br />

according to the specification it should be usable)<br />

420123459101123456789123456780<br />

Code 39 (default)<br />

0123456789<br />

Code 39 (with start/stop characters displayed in<br />

the human-readable message, plus added check<br />

character)<br />

*01234567892*<br />

Code 39 (with a wide factor <strong>of</strong> 4)<br />

0123456789<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)


Code 39 (with a module-width <strong>of</strong> 0.4mm)<br />

0123456789<br />

Code 39 (with an interchar-gap-width <strong>of</strong> 8mw [8<br />

times a module width])<br />

0123456789<br />

Code 39 (with the extended character set enabled)<br />

Hello *World*!<br />

Interleaved 2 <strong>of</strong> 5 (default)<br />

0123456789<br />

Interleaved 2 <strong>of</strong> 5 (checksum mode: add)<br />

0123456789<br />

UPC-E (default)<br />

0 4 2 5 2 6 1 4<br />

UPC-E (the same as above but using a UPC-A<br />

message: 04210000526)<br />

0 4 2 5 2 6 1 4<br />

UPC-E (with 2-character supplemental. Message:<br />

04210000526+34)<br />

34<br />

0 4 2 5 2 6 1 4<br />

UPC-E (with 5-character supplemental. Message:<br />

04210000526+56789)<br />

56789<br />

0 4 2 5 2 6 1 4<br />

Postnet (default)<br />

Postnet (baseline-alignment set to "top")<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)


Postnet (playing with module-width, interchar-gapwidth,<br />

t<strong>all</strong>-bar-height, short-bar-height and humanreadable)<br />

80122-2014-01<br />

Royal Mail Customer Barcode (default)<br />

Royal Mail Customer Barcode (playing with<br />

interchar-gap-width, ascender-height, track-height)<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)


Character set demonstration<br />

Interleaved 2 <strong>of</strong> 5: 0-9<br />

0123456789<br />

Code 39: 0-9, [space] and "-.$/+%"<br />

0123456789 -.$/+%<br />

Code 39: A-Z<br />

ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />

Code 128: 0-9<br />

0123456789<br />

Code 128: A-Z<br />

ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />

Code 128: a-z<br />

abcdefghijklmnopqrstuvwxyz<br />

Codabar: 0-9 and "+-/$.:"<br />

0123456789+-/$.:<br />

UPC-A: 0-9 (11 characters, checksum will be<br />

calculated)<br />

0 0 1 2 3 4 5 6 7 8 9 5<br />

EAN-13: 0-9 (12 characters, checksum will be<br />

calculated)<br />

2 0 0 1 2 3 4 5 6 7 8 9 3<br />

Postnet (dash is a valid character but won't be<br />

painted) 01234-56789<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)


Royal Mail Customer Barcode: 0-9 and A-Z<br />

(parentheses and brackets are valid but will be<br />

filtered and automatic<strong>all</strong>y used as start/stop<br />

characters)<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)


Barcode Rotation<br />

A normal barcode:<br />

4 0 0 6 4 0 8 5 5 1 3 7 9<br />

The same barcode, but rotated this time using SVG:<br />

4 0 0 6 4 0 8 5 5 1 3 7 9<br />

This PDF was generated using <strong>Barcode4J</strong> (http://barcode4j.sourceforge.net)<br />

and Apache FOP (http://xmlgraphics.apache.org/fop/)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!