In this article, you will learn
- how to create a static barcode/QR code without uploading a CSV file,
- how to generate a variable barcode/QR code based on a CSV file, and
- which formatting options are available when working with barcodes/QR codes.
1. Introduction
The creation of static and variable barcodes and QR codes is one of the fundamental applications in the production of machine-readable data carriers. In addition to traditional applications, variable codes are also used in certain regions as a design element for customized layouts.
The content to be encoded can either be generated in an external application and provided as a CSV file or created directly within the VDP Editor. In the VDP Editor, this is achieved by combining variable strings with sequential serial numbers, without the need for an external file.
Typical use cases for barcodes and QR codes include:
- Product Identification – applying article numbers to packaging for fast scanning at self-service kiosks and point-of-sale systems.
- Lot Numbers – generating unique identifiers, for example, for raffles or lotteries.
- Badge Numbers – creating numbering schemes that combine sequential numbering and additional text.
- Parcel Identification – providing information for the automated capture and tracking of logistics processes.
- Business Cards – storing structured data, such as contact information, on business cards or ID cards.
- Posters and Promotional Materials – encoding URLs for direct access to additional information.
- ID Cards and Badges – creating access credentials, for example, for events, trade fairs, or fitness facilities.
VDP Editor Overview
A detailed description of the VDP Editor, including the structure of CSV files as well as the creation of serial numbers and variable fills and strokes, can be found in the chapter VDP Editor.
Overview of all Barcodes and QR Codes
An overview of all available barcodes and QR codes can be found in the chapter Supported Barcodes and QR Codes. In addition to a list of all supported code types, the chapter also provides a description of their respective use cases.
2. Create Variable Barcode
For the sample procedure describing the creation and editing of a QR code, a Code 128 barcode is generated based on values provided in a CSV file. The barcode is positioned on a colored background area within the Print Item, with the output rendered at the defined size and in the specified proportions.
All required attributes are taken into account, including the human-readable text (text display) and compliance with the required quiet zones (safety zones).
To implement this use case, perform the following steps:
- Open the desired Article or the corresponding Print Item in the VDP Editor.
- Select the VDP Barcode Tool [1] or press
B. - Drag the barcode placeholder from the upper-left corner to the lower-right corner of the central white area. The Position (X/Y) [3] as well as the Width and Height [4] can be adjusted at any time in the Transform settings panel. The red outline of the rectangle [2] indicates the placeholder as an element on the top VDP layer.
Figure 1: The VDP Editor while drawing the rectangle using the Barcode Tool
- After releasing the mouse button, a dummy placeholder for an invalid barcode is displayed within the placeholder frame [6].
- In addition, a warning message [5] is displayed to inform users that an invalid barcode is being shown – either because the content to be generated is missing or because an unsupported character was used in the CSV file or during direct input.
Figure 2: The VDP Editor displaying the placeholder image of an invalid barcode
- To populate the placeholder with the required data, click the Upload CSV file [7] icon in the General Settings panel.
- The Add CSV file dialog opens. Select the desired CSV file either by dragging and dropping it or by using the drop zone.
Figure 3: The Add CSV file dialog
- Select the required settings in the dialog and complete the process by clicking Save.
- Then switch to the Content [8] tab to define the values for the barcode.
- In the Data Source [9] drop-down menu, select the desired entry (e. g., Column Title). The following options are then displayed:
- Column Header [10] – select the column header from the CSV file that contains the required values – in this example, NUMBER.
- Trim Entry [11] – optionally, the data entry can be adjusted. The following options are available:
- From the beginning – a positive number removes the specified number of characters from the beginning of the character string (e. g., 3 → 00_text string_01 becomes text string_01). A negative number reduces the character string to the specified number of characters from the end (e.g., 2 → 00_text string_01 becomes 01).
- From Position – specifies how many characters of the character string – starting from the beginning – are used (e.g., 7 → 00_text string_01 becomes 00_text).
- The selected data from the CSV file is assigned to the barcode. The stored content is displayed in the Preview section [12].
Figure 4: The Content tab with the defined values from the CSV file
To edit or adjust the barcode, switch to the Format tab [13]. This section contains settings for the barcode type, font, color, and background. In this example, the embedded text should be displayed, the barcode color should be configurable, and the background should have a static color. The following steps are required:
- Switch to the Format tab [13] and open the Barcode Settings section [14].
- Select the desired Barcode Type [15]. In this example, Code 128 is used.
- Below the Type setting, you will find various sections that differ depending on the selected type. Open the Text Options drop-down menu [16].
- Enable the Show Text option [17] to display the encoded content of the barcode. Then define the Placement [18] of the text – either below or above the barcode. In this example, the text is placed below the barcode.
- Finally, set the Distance [19] between the text and the barcode.
Figure 5: The Format tab with the Text Options settings panel expanded
- Open the Font Settings section [20] within the same tab. Here, the Font Family, Font Style, and Font Size can be adjusted. Define the required settings according to your requirements.
Figure 6: The Font Settings panel with the defined values
- In the Barcode Settings section [14] (Figure 5), open the Quiet Zone section [21].
- Define the desired Quiet Zone values for Top, Bottom, Left, and Right [22].
Figure 7: The Format tab with the configured Quiet Zone settings
Finally, the barcode color and background color can be defined. Proceed as follows:
- Switch to the Format tab and open the Color Settings section [23] to define the barcode color.
- Select the Color Picker option [24]. This allows a color to be defined as a static color.
- Define the required color either by entering CMYK color values [25], using the Color Picker, or by selecting a system-wide Spot Color [26]. In this example, the Spot Color Barcode is used.
Figure 8: The Format tab with the Color Settings and Background sections expanded
- The background color can be defined in the Background section [27] and applies to the entire barcode placeholder. Open the corresponding settings panel.
- Select the Data Source option [28] to enable a variable background.
- Set the Data Source to the Column Title entry [29] and, in the Column Header drop-down menu [30], select the column that contains the color values for the background.
- Finally, select the appropriate Color Space [31] in which the background colors are defined. The background is then colored according to the values provided in the CSV file.
3. Additional Options
In addition to the basic editing options described above, the VDP Editor provides a wide range of advanced functions that allow barcodes and QR codes to be precisely adapted to specific requirements. These include extended settings for rendering, data processing, formatting, and the integration of variable content.
These additional options enable flexible design while ensuring the technical accuracy and readability of the codes during the production process. The following section describes all available barcode settings for the Code 128 barcode type in the VDP Editor.
3.1. Code specific Options
Depending on the selected barcode type, barcode specific options are available that allow the typical parameters for the respective barcode to be configured. For the Code 128 barcode type, the Bar Width Reduction option is available.
The following settings can be configured in this section:
- Bar Width Reduction [32] – entering a positive value reduces the bar width by the specified amount. Negative values are not permitted. This reduction compensates for ink spread (dot gain) during the printing process, which can result in wider bars and narrower spaces. Depending on the printing method, different correction values may be required. As barcode sizes decrease, the need for accuracy increases. The orientation relative to the print direction can also affect the result. This adjustment is particularly useful for laser and inkjet printers, for example, in cases of excessive color saturation.
- Swap Foreground with Background [33] – enable this option to swap the foreground and background colors of the barcode. This results in an inverted barcode.
Figure 9: The configuration options in the section Code specific options
3.2. Text Options
Using the text options, the content encoded in the barcode or QR code can be displayed as plain text. In addition to configuring the placement – either above or below the code – the distance between the text and the code can also be defined.
The following options are available in this section:
- Show Text [34] – enable this option to display the content of the barcode or QR code as a text string.
- Placement [35] – select where the text should be positioned from the drop-down menu. Available options are above (above the code) or below (below the code).
- Distance [36] – define the spacing between the text and the code. Note: This distance applies to 1D barcodes only.
Figure 10: The configuration options in the section Text Options
3.3. Quiet Zone
Using the quiet zone settings, a quiet zone can be defined for the top, bottom, left, and right sides of the code, as well as the Length Unit to be used. The Quiet Zone is a non-printable area without any markings before and after, as well as above and below, the barcode. It ensures reliable scanner readability. As a general rule, the Quiet Zone should be at least ten times the module width or at least 6.5 mm (¼ inch). The exact value depends on the barcode type used.
Figure 11: The configuration options in the Quiet Zone section
3.4. Check Methods
For each code type, a check method is available to verify the correctness of the content encoded in the barcode or QR code. The most common check method is the Checksum. The Checksum is a digit located at the end of a code. It is used to verify whether the information encoded in the barcode has been entered correctly. The result of the decoding calculation is compared with the Checksum value to ensure the accuracy of the encoded data.
Depending on the selected code type, different checksum calculation methods are available. You can select the desired option from the drop-down menu.
Figure 12: The settings options in the Check Methods section
3.5. Encoding
For Encoding codes, the $PRODUCT_NAME_WORKFLOW application uses a Codepage. A code page is a character encoding that defines a unique mapping between printable characters and numeric values. As a rule, each value corresponds to the binary representation of a single byte. All code pages supported by the application are available in the selection menu.
Figure 13: The settings options in the Encoding section
3.6. Bearer Bars
For certain code types, bearer bars are available. Bearer Bars are additional lines placed around specific 1D barcodes, particularly ITF (Interleaved 2 of 5). They help prevent partial scans, improve scanning reliability, and stabilize the printed image. Bearer Bars are not used for 2D codes such as QR codes.
The following settings are available:
- Position [37] – select where the bearer bars should be placed from the drop-down menu. Available options include Top, Bottom, Top & Bottom, None.
- Width [38] – define the width of the bearer bars.
Figure 14: The settings options in the Bearer Bars section
3.7. Resolution
The resolution of barcodes determines the level of detail of the displayed structures and directly affects readability. For reliable scanning, the resolution must be adjusted according to the barcode type, size, and printing method.
The following settings are available:
- Module Width [39] – enter the desired module width. The module width (X-dimension) defines the size of the smallest element (bar or space) of a barcode and can be specified in millimeters, inches, or mils (1 mil = 1/1000 inch). It is commonly denoted by the letter X. The minimum module width depends on the symbology used. In most specifications, a module width of at least 0.19 mm is recommended.
- Horizontal [40] – enter the desired horizontal resolution. Specifying the horizontal resolution enables optimization of the module width to ensure consistent rendering of bars and spaces, thereby improving barcode readability. For printing systems with a resolution above 300 dpi, module width optimization is generally not required.
- Vertical [41] – enter the desired vertical resolution. Specifying the vertical resolution enables optimization of the module width to ensure consistent rendering of bars and spaces, thereby improving barcode readability. For printing systems with a resolution above 300 dpi, module width optimization is generally not required.
Figure 15: The settings options in the Resolution section
Article Update: $PRODUCT_NAME_WORKFLOW 2.0.0 – 04/2026














