Code 39
Code 39 is a linear barcode developed in 1975 by Intermec. This code gained great popularity due to its ability to encode alphanumeric data. It is still widely used today.
An important feature of this code is the ability to encode data of arbitrary length. The width of the code is limited only by the scanner's reading capability.
Each character in the code is represented by 9 elements: 5 bars and 4 spaces. This large number of elements is due to built-in self-checking. This means that each character in the code is checked, and there is no need for a check digit. However, adding a check digit is still allowed for extra barcode integrity assurance.
As mentioned above, this barcode allows the encoding of alphanumeric information. The following characters are allowed:
- Latin uppercase letters (A-Z);
- digits (0-9);
- special characters (
-
,,
,.
,$
,/
,+
,%
,:
).
Code 39 barcode has the following structure:
- start character encoded as
*
. Indicates the beginning of the code; - encoded data;
- optional checksum digit;
- stop character, also encoded as
*
.
To generate a Code 39 barcode in FastReport .NET, select the Barcode object at the Components Panel in the Report Designer. In the drop-down list, navigate to the "Others" category, and then choose Code39:
After selecting the barcode, place it on the Report Page.
Double-click on the added barcode to open the editor. You can also open the barcode editor by clicking the button in the context menu of the added object, accessed by right-clicking:
If you want to hide the text under the barcode, locate the ShowText
property in the property inspector of the corresponding barcode and set its value to False
: