Question / Problem:
How are 1D bar code Quiet Zone requirements enforced by the Standard Bar Code (SBC) engine and the Enhanced Bar Code (EBC) engine?
Answer / Solution:
The official specifications for 1D bar code symbologies (Code 3 of 9, Code 128, Codabar, Interleaved 2 of 5) require a 1/4 inch Quiet Zone to the left and right of the bar code. The presence of any text, lines, additional bars, or noise inside the leading and/or trailing quiet zones may cause the bar code to be considered Out of Specification and prevent the bar code from being read successfully.
The Standard Bar Code engine scans the image horizontally from left to right when it reads bar codes and stops reading the bar code once it recognizes the stop character. The result of this behavior is that the SBC engine only enforces the leading quiet zone. The presence of additional bars, lines or text in the trailing quiet zone to the right of the stop character is ignored. When this occurs, the SBC engine will return the bar code value even if the trailing quiet zone requirement has been violated.
The Standard Bar Code engine cannot be configured to change its enforcement of Quiet Zones.
The Enhanced Bar Code engine reads 1D and 2D bar codes from multiple angles. Therefore, the EBC engine enforces both the leading and trailing quiet zone requirements when it reads 1D bar codes. This difference in scanning behavior can result in the Enhanced Bar Code engine not returning a value for a bar code for which the SBC engine does return a value.
The Enhanced Bar Code engine can be configured to only enforce one of the required quiet zones. This configuration will allow the EBC engine to return a bar code value, even if either the leading or trailing quiet zone requirements has been violated, but not if of both quiet zone requirements have been violated.
To configure the Enhanced Bar Code engine to enforce only one of the required Quiet Zones:
- On each station where bar code recognition will be performed, navigate to
- Create a new text file called
KBarMode.ini(if one does not already exist)
KBarMode.iniin a text editor such as Notepad
- Add the following lines (if they do not already exist):
For Code 3 of 9 bar codes:
[Barcode] Algorithm=1 IniActive=1 C39_ShortQuietZones=1
For Code 128 bar codes:
[Barcode] Algorithm=1 IniActive=1 C128_ShortQuietZones=1
For Codabar bar codes:
[Barcode] Algorithm=1 IniActive=1 CB_ShortQuietZones=1
For Interleaved 2 of 5 bar codes:
[Barcode] Algorithm=1 IniActive=1 I25_ShortQuietZones=1
For a combination of bar code types:
[Barcode] Algorithm=1 IniActive=1 C39_ShortQuietZones=1 C128_ShortQuietZones=1 CB_ShortQuietZones=1 I25_ShortQuietZones=1
5. Save the changes to
6. Restart all services and applications that use Kofax VRS / ImageControls.