How RFID Tags Work in FastReport VCL

2025-04-21

RFID tags are a modern way to ID products, quickly replacing barcodes. What makes RFID tags different is they use radio signals. This lets you scan large quantities of items fast, saving a bunch of time. RFID tags are also used to identify employees within companies. In this article, we'll check out how RFID tags work with the new TfrxDeviceCommand object in FastReport VCL.

 


 

Features of RFID Structure

The structure of an RFID tag consists of four data banks:

  1. Reserved Bank: Contains two passwords: access password and kill password. The first password allows management of access to specific banks or parts of the tag's memory. The second password is used for permanently disabling the tag or its reusability (if such a function is supported). Each password has a length of no more than 32 bits.
  2. Product Code Bank
  3. Tag ID Bank
  4. User Data Bank

All banks except the first can have varying capacities or may be locked by suppliers; all this is described in the specifications of the tag. The standards for formatting data in these banks are described in this document. For local use, any data formatting that is convenient for the user to work with can be employed. 

TfrxDeviceCommand object was created for the implementation of tags in FastReport VCL, where the RFID tag is one of the possible presets. Currently, this is the only preset, but we plan to expand this category in the future.

In version 2025.1.8, this object is processed only via ZPL export (other exports currently skip it). We plan to extend its processing to other exports upon request.

DeviceCommand on the Report Page

 


 

Features of the TfrxDeviceCommand Object

  • It is not a visual object, meaning it does not appear in the preview (only in the designer).
  • It does not have height and width.
  • The position within the container (Page or Band) is used solely in the designer for better visibility. In other words, the position does not affect the processing order during export. It can be understood that during export, TfrxDeviceCommand has its own separate queue.

A separate queue for a single preset is an excessive solution. However, it is still worth considering the parameters of the TfrxDeviceCommand object that influence the specified queue. 

 

To configure the processing time, the object has a field called ProcessingTime, which can take 2 values:

  • ptBeforeView processes before the entire content of the container);
  • ptAfterView (after the content of the container).

If the container has multiple TfrxDeviceCommand objects with the same ProcessingTime, the Order field (ranging from 0 to MaxInt) will be required.

Suppose there are 3 TfrxDeviceCommand objects in the container with the following parameters:

  1. ProcessingTime = ptAfterView , Order = 1;
  2. ProcessingTime = ptBeforeView, Order = 0;
  3. ProcessingTime = ptAfterView , Order = 0;

When exporting the container, the processing order will be as follows:

  • The second object (ProcessingTime = ptBeforeView, Order = 0);
  • The content of the container;
  • The third object (ProcessingTime = ptAfterView, Order = 0);
  • The first object (ProcessingTime = ptAfterView, Order = 1);

Additionally, this object has the following fields:

  • DeviceType — used to select a preset; currently, there is only one value, dtRFIDLabel, and it cannot be changed for now.
  • DeviceProperties — contains fields, the list of which changes depending on the selected DeviceType. This is where the content of the current preset (RFID labels) is stored.

 


 

How to Configure the Content of the Object

The content can be configured not only in the object inspector but also in the editor.

DeviceCommand Editor

 

Translation into other languages besides English is not available to avoid confusion with specialized terminology.

The editor is divided into tabs, each containing properties for a specific memory bank, along with one tab for additional label options.

Some fields are duplicated to support filling expressions (for example, from the database).

In the reserved data bank, passwords can only be entered in the format of a hexadecimal number consisting of eight characters. Furthermore, without a non-zero access password, it will not be possible to control access modes. In other data banks, you can choose the recording format: either a hexadecimal number or a string in ASCII encoding.

For more information on RFID support in ZPL, you can refer to the official documentation. 

This object for FastReport VCL is the first of its kind. However, new presets for this object will be implemented in the future.

VCL FastReport Designer ZPL
April 22, 2025

Working with the TfrShellTreeView Component in FastReport VCL

In this article, we will look at the TfrShellTreeView component. It is designed to display file system elements and is partially analogous to the TDirectoryListBox, TDirectoryOutline, and TShellTreeView components.
April 22, 2025

Working with XML and JSON Formats in FastScript

In this article, we will take a closer look at how to work with JSON and XML in FastReport, see what properties and methods they have, and build reports from code with scripts.
April 08, 2025

Converter from Microsoft Word (.docx) format to FastReport .NET (.frx) file

A converter from Microsoft Word (.docx) format to a file FastReport .NET (.frx): description and instructions for using the tool.
Fast Reports
  • 800-985-8986 (English, US)
  • +31 97 01025-8466 (English, EU)
  • +49 30 56837-3928 (German, DE)
  • +55 19 98147-8148 (Portuguese, BR)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2025 Fast Reports Inc.