5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
 148
Chapter 3 Bar Codes
If the : parameter is specified, the ratios are 
represented in printer dots instead of IGP dots 
(60 x 72 dpi).
type
Selects the bar code type. Code 39 types available 
are shown in Table 22. Enter the Type Code 
corresponding to the Code 39 type desired. 
ratio
Optional parameter (used in conjunction with 
parameter 9) representing the ratios for variable 
ratio bar codes. The default ratios are overridden 
by the variable ratio feature. The ratio data must be 
hexadecimal numbers from 0 through 9 or A 
through F. The Code V automatically checks the 
input for validity. If an invalid character is found in 
the ratio, an error message is generated.
Code 39 bar codes use four-digit ratios. The ratios 
are interpreted from left to right, measuring the size 
of each bar or space, in dot width according to the 
following pattern: 
narrow bar : narrow space : wide 
bar : wide space
. For example, enter 2266 in the 
ratio parameter for: 
2 dot-wide narrow bar
2 dot-wide narrow space
6 dot-wide wide bar
6 dot-wide wide space.
The Code V automatically checks ratio data for validity only within the 
allowable hexadecimal range. The Code V does not verify that ratio data 
creates acceptable wide/narrow element relationships for bar code 
readability. For example, the Code V accepts wide/narrow ratio values of 2 
and 5, respectively; however a narrow element larger than the wide element 
produces an unreadable bar code. When designing unique ratio data, 
carefully plot wide and narrow ratios to conform to readable bar codes.
Table 22. Code 39 Bar Codes
Standard
Type Code
IBARC, Code
# of Data 
Characters
Check 
Digits
Default Bar/
Space Ratios*
Ratio
A C39 1-40 None 1:1:3:3 1:3
B C39A 1-40 None 1:2:4:5 1:3
C C39M43 1-40 Mod 43 1:1:3:3 1:3
LOGMAR 1-40 None 1:1:3:3
HIBCC 1-40 Mod 43 1:1:3:3
AIAG 1-40 None 1:1:3:3
EMBARC 1-40 None 1:1:3:3
* Ratios represent dot width of the bar/space elements as follows:
Narrow Bar : Narrow Space : Wide Bar : Wide Space.










