5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
MSI
 181
If the : parameter is specified, the ratios are 
represented in printer dots instead of IGP dots 
(60 x 72 dpi).
type
Represents the bar code type. As shown in Table 
34, MSI Types F, G, H, I, and X are available. Enter 
the type code corresponding to the MSI bar code 
type desired. 
ratio
Optional parameter (used in conjunction with 9 
above) representing the ratios for variable ratio bar 
codes. 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.
MSI 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, in the following 
pattern: 
narrow bar : narrow space : wide bar : wide 
space.
 For example, enter 2244 in the ratio 
parameter for:
2 dot-wide narrow bar
2 dot-wide narrow space
4 dot-wide wide bar
4 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 34. MSI Bar Codes
Standard 
Type Code
IBARC, Type 
Code
# of Data 
Characters
Check Digits
Default Bar/
Space 
Ratios*
F MSI 1-13 None 1:1:2:2
G MSI10 1-13 Mod 10 1:1:2:2
H MSI1010 1-13 Mod 10, Mod 10 1:1:2:2
I MSI1110 1-13 Mod 11, Mod 10 1:1:2:2
X MSI11 1-13 Mod 11 1:1:2:2
*Ratios represent dot width of the bar/space elements as follows:
Narrow Bar : Narrow Space : Wide Bar : Wide Space
.










