Bizagi BPM Suite User Guide
Table of Contents Part I Configuring and using the Bar code generator Widget 3 2 2
Part I Configuring and using the Bar code generator Widget
Configuring and using the Bar code generator Widget 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), EAN8, 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: 4
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): 5
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 http://help.bizagi.com/bpmsuite/en/ index.html?widget_xchange.htm, or as described at http://help.bizagi.com/bpmsuite/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). 6
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. 7
Consider the following properties. PROPERTY Product code (data binding) POSSIBLE VALUES DEFAULT VALUE / SUGGESTED An string holding the code to display as barcode representation. (none) 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 may hold any length, and for example, be used for the first digits that indicate the product's country of origin. (none) 8
Coding type The type of bar code you want to generate. Possible values are: EAN13 EAN8 Code11 Code39 Code93 Code128 Codabar MSI 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 A setting indicating if you want to display the bar code with a white background (use Yes), or consider a gray tone as background which has better match with Bizagi's UI (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 Bars height A setting in pixels used for the height of each bar included in the bar code. Possible values range from: 50 to 150. 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). 9
10