<< Click to Display Table of Contents >> Bar code generator |
Overview
The Bar code generator for Bizagi is available for download at Bizagi Widget Xchange.
Through this Widget, you will be able to produce bar codes in formats such as EAN-13 (default), EAN-8, code11, code39, code93, code128, among others.
Notice you may save these barcodes as bmp files into a Bizagi file attribute so that you can generate documents with it:
If the barcode is not valid, Bizagi shows an error message as the one shown below:
Important
It is expected that you know beforehand about the barcode symbology you will be using.
This means for instance that if you plan on using EAN-13, you are certain of having valid product codes (this includes the checksum digit and its country codes).
This Widget will display your code visually, in its barcode representation while it will not produce the code for you.
It is likely that you will need to additionally use a Bizagi sequence to store and increment codes in your processes.
The image above shows an example of a valid EAN-13 code (9780201379624):
Before you start
In order to test and use this Widget, you will need:
1.Bizagi Studio previously installed.
2.This specific Widget previously installed, either as described at https://help.bizagi.com/platform/en/index.html?widget_xchange.htm, or as described at https://help.bizagi.com/platform/en/index.html?widgets_manualinst.htm.
Data model considerations
In order to use this Widget, you need in your data model:
•A string type attribute which holds the code for each of your different products (or documents).
•Optionally, an image type attribute to store that generated visual representation of the code (the barcode as a .bmp file).
Properties configuration
In order to configure this Widget once it is installed in your project, include it in any form and set it properties in the Forms designer, just as you would do with any other type of Bizagi control.
Consider the following properties.
PROPERTY |
POSSIBLE VALUES |
DEFAULT VALUE / SUGGESTED |
---|---|---|
Product code (data binding) |
An string holding the code to display as barcode representation. |
Not applicable. This property is mandatory. |
Image |
An image to store the resulting bar code, as .bmp format. This option available only when using .bmp output format. |
(none) |
Code prefix |
A preceding code to append to the product code. It can be of any length and, for examples, may be used for the initial digits that indicate the country and the origin of the product. Note: the interpretation and validity of the prefix depend on the selected Coding Type. |
(none) |
Coding type |
The type of bar code you want to generate. Possible values are: •EAN13 •EAN8 •Code11 •Code39 •Code93 •Code128 •Codabar •MSI Note: for the widget to work correctly, these values must be entered in lowercase. |
EAN13 |
Output format |
The graphic format for the bar code output. Possible values are: •css •bmp •svg |
CSS |
Show readable caption |
A setting indicating if you want to include the product code as a human-readable caption, right below the bar code (use Yes), or just show the bar code (use No). |
No |
Use white as background |
Indicates whether you want to display the code with a white background (use Yes) or use a gray tone that better matches Bizagi's graphical interface (use No). |
No |
Bars width |
A setting in pixels used for the width of each bar included in the bar code. Possible values are: 1, 2, 3, or 4. |
1 px |
Bar height |
Indicates the number of pixels used each bar's height. |
50 px |
Notice all Bizagi controls and Widgets, enable a visible property which allows you to set if that control should be displayed in a given form or not (e.g, by using a business rule). |
For further information about the jQuery plugin used by this Widget, refer to - http://barcode-coder.com/.
Last Updated 8/28/2025 2:05:46 PM