Barcode Bean and Plug-in

Create a (JPEG) image direct in memory.

home Introduction
With the Barcode Plugin you can create a (JPEG) image direct in memory .

The following barcodes can be created:
  • Code128, Code128A, Code128B, Code128C
  • Code2of7
  • Code39, Code3of9
  • EAN128
  • Global Trade Item Number
  • Monarch
  • NW7
  • PDF417
  • SCC14 Shipping Code
  • SSCC18
  • Shipment Indentification Number
  • UCC128
  • USD3
  • USD4
  • USPS
  • 2D Datamatrix *
To create 2D Datamatrix images you need the RDatamatrix libraries from Java4Less .
lightbulb_outline Benefits
  • When you need barcode images on your form.
  • When you need to print barcodes.
  • When you need standardized barcodes with the right specifications.
In short: Every developer that needs barcodes will benefit.
swap_vertical_circle Compatibility
Smart client Headless client Web client Mobile client NG client
8.0+ 1.6+ check * check * check * remove check * check check check
7.0+ 1.6+ check * check * check * remove n/a check check check
6.1+ 1.6+ check * check * check * n/a n/a check check check
* The Barcode Bean will only work in a Smart Client.
code How to Use
We published our API Specifications for the Barcode Bean and Plug-in as a future and current reference.

After downloading the Barcode Bean and Plug-in using our Components Manager a sample solution {servoy_root}/solutions/it2be-examples/it2be-barcode.servoy is installed.
You can import the sample solution into Servoy Developer and you will have some (basic) code examples of how to use the Barcode Bean and Plug-in.
We have made the source of the Barcode Bean and Plug-in available on ServoForge .
You can download the source here .
Everybody is free to check the source out, use it and change it as long as you give us credit and leave all copyright notices intact including those of third parties.
bookmark FAQ
  • When I print an EAN128 with the Barcode Plugin. A code of 1 will return 115.

    I see no method for adding the J4L Barcode license.

    What is the meaning of property x or y for the 2D barcode back to top?
    When I print an EAN128 with the Barcode Plugin. A code of 1 will return 115.
    The Barcode Plugin is based on the Barbeque libraries.

    The copyright lies with the International Barcode Consortium.
    So it is save to assume that the barcodes that are generated are ok.

    The size of the barcode is fixed. And so it should be to comply with the standards.

    It is important to check the minimum number of characters and type of characters allowed for the barcode type you want to create.

    For EAN128 the minimum number of characters is 3 characters.

  • I see no method for adding the J4L Barcode license

    That is correct!

    When you buy the libraries from Java4Less you will receive runtime libraries without the need to enter any license afterwards.

    This also means that you will have to replace the trial libraries with the newly received libraries (after buying the appropriate license).

  • What is the meaning of property x or y for the 2D barcode

    Because the 2D barcode is a very specific part of the Barcode Plugin and Bean we did not document it.

    However, you can find full documentation of the properties here: http://www.java4less.com/barcodes/barcodes.php?info=guide#dm.

    Although the samples are for using Java the documentation should give you all you need to get a basic understanding of the properties you can set.

description Release Notes