Barcode
Display and print barcode for records
A barcode is a method of representing data in a visual, machine-readable form. Initially, barcodes represented data by varying the widths and spacings of parallel lines. These barcodes, now commonly referred to as linear or one-dimensional, can be scanned by special optical scanners, called barcode readers. Barcode is widely used in the Laboratory Information Management System (LIMS) to track the samples and inventories.
Labii ELN & LIMS provides these widgets to display and print barcode:
A label is a piece of paper, plastic film, cloth, metal, or other material affixed to a container or product, on which is written or printed information or symbols about the product or item.
Labii enables you to design and print label(s) with the Label widget. Use this widget to print labels for samples/reagents.

The label content and label size can be customized at Labii ELN & LIMS, click the "edit" icon to edit.
- Columns - choose what to display in the label. You can choose multiple columns. Default to UID + Name.
- Separator - how do you want to separate the data from different columns. Default to line break.
- linebreak
- ,
- |
- -
- Label - choose an available label type to define the label size. Change of the label type will update the width and height fields.
- Width - the width of the label in px
- Height - the height of the label in px
- Margin - the margin for the text, default to 5px
- Font Size - the font size, default to 14px

Click Rotate to switch the width and height.
Use Save Default function to apply the configuration for other records.
Labii also supports the traditional barcode (1-dimensional barcode). Use the Barcode widget to show and print the barcode.

These options of a barcode can be customized:
- Value - the value to be encoded as a barcode. Default to UID.
- Format - Select which barcode type to use. Please check the wikipage of the different barcode types for more information.
- CODE128
- EAN13
- ITF14
- MSI
- pharmacode
- codabar
- Barcode Width - The width of a single bar. Default to 2.
- Barcode Height - The height of the barcode in px. Default to 100px.
- Display Value - Should display the value in the barcode
- Font Size - Set the size of the text in px. Default to 20px.
QR code, a two-dimensional barcode, is also supported at Labii ELN & LIMS. The QR code can be scanned with any barcode scanner. The smartphone is also supported with proper apps.
This is an updated version of the QR code. The new version is more customizable. Here are some changes:
| Old Version | This Version |
Value | UID | Can be customized to any field, default to UID |
Size | 64 | Can be customized to any size |
QR error level | | Can be customized |
Display Value | Always show, it can be customized | Can be customized to show or hide |
Font Size | Automatic adjust | Can be customized |
Text Position | Right / Bottom | Right / Left |
Text Width | Use the ratio to control | Can be customized |
Print | Predefined | Use system printer |

- Value - the value to be encoded as a barcode. Default to UID.
- Level - QR Error correction level. Default to L
- Width - the width of QR Code. Default to 100px
- Display Value - should display the value with the QR Code
- Font Size - set the size of the text in px. Default to 14.
- Text Position - the position of the text to the QR Code
- Text Width - the width of the text area. Default to QR code width
All barcode type widgets support the print function. You can define the label size at the printer window.
Last modified 1yr ago