Skip to content

2D Barcode settings ​

Configure the 2D barcode settings for the table.

Overview of the 2D Barcode Functionality ​

For an overview of the 2D barcode functionality, please refer to the official website post.

Required PHP extension (label PDF) ​

To make the 2D barcode label PDF, PHP's gd extension must be built with FreeType (imagettftext must be available). Without it, making the label PDF fails with an error.

  • docker-exment: update docker-exment (since PR #23, 2026-11-23) and rebuild the php image (docker compose build php, then docker compose up -d).
  • Other servers: install gd with FreeType (the php-gd package of the distribution usually has it). Check it with the command below; bool(true) means it is available.
php -r 'var_dump(function_exists("imagettftext"));'

Page display ​

  • In the custom table list, check the table you want to configure and click "Table details settings" in the upper right corner.
    2D barcode page

※ It is also possible to transition directly from the data list screen or data registration screen of the target custom table. In that case, please click "Table details settings" in the upper right corner.
2D barcode page

  • On the displayed table details settings screen, click the 2D barcode settings icon to display the 2D barcode settings.
    2D barcode page

2D Barcode setting items ​

2D barcode page

Supplementary information for 2D barcodes ​

Set the information displayed on the right side of the 2D barcode.

Enter the fixed wording that will be displayed on the right side of the 2D barcode.

  • Represents column ​

Sets the specified column of custom data to the right of the 2D barcode.
You can choose an ID column or an auto-number column (must be unique and required).

2D barcode layout size ​

Set the layout size of the 2D barcode.
Please refer to the table below.

CaseCell widthCell heightMargin rightMargin topColumn per pageRow per pageColumn spacingRow spacing
2x584521710.52584
2x683.842.319.321.5263.80
2x7833220242744
3x663.546.57.29362.550
3x763.5387.215.5372.550
3x856301714.53844
3x96231993930
3x1053.325.41921.53103.80
3x126020121231233
4x1148.325.48.48.841100

2D barcode page

2D barcode reading ​

Sets information for reading two-dimensional barcodes.

  • Form after reading 2D barcode ​

Set up the registration form after reading the 2D barcode.
You can select from custom forms registered in the target table.

  • Actions after data registration ​

Set the display screen after data registration.
You can select the TOP screen, list screen, details screen, edit screen, or camera startup screen.

After setting, click the "Save" button.

Enable 2D barcode settings ​

  • In order to expose the 2D barcode function of the target table, it must be "enabled". Once saved, click the "Activate" button at the top right of the page.

2D barcode page

Create a new 2D barcode ​

  • After enabling the 2D barcode function, the "Create new 2D barcode" button will be displayed in the data list of the target table.
    You can change the display name of the "2D barcode" on the "Create new 2D barcode" button by changing "EXMENT_TEXT_QR_BUTTON_JA/EN" in the .env file. 2D barcode page

  • Click "Create new 2D barcode" to display the new 2D barcode creation screen. 2D barcode page

  • If you enter the number of 2D barcodes and save, data will be created with the entered number and the 2D barcodes will also be output as PDF. 2D barcode page

2D barcode download ​

  • After enabling the 2D barcode function, a "2D barcode download" button will be displayed in the data list of the target table.
    You can change the display name of the "2D barcode" on the "2D barcode download" button by changing "EXMENT_TEXT_QR_BUTTON_JA/EN" in the .env file. 2D barcode page

  • Select the target data and click "Download 2D barcode" to output the 2D barcode of the selected data as a PDF. 2D barcode page

2D barcode page

Launching the camera screen from Exment ​

  • From the Exment dashboard, you can launch the camera screen to read 2D barcodes.

  • For instructions on how to add the item "2D barcode reading" to the Exment dashboard, please see here.