5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
EAN 13
 169
9 or : Optional parameter to select a variable ratio bar 
code. Enter the number 9 to select a variable ratio 
bar code. This feature overrides the default EAN 13 
ratio 1:1:2:2:3:3:4:4.
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. Enter T for standard 
EAN 13; enter m for EAN 13 plus a 2-digit add-on 
data field; enter n for EAN 13 plus a 5-digit add-on 
data field.
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. However, unique variable ratios for 
EAN 13 bar codes easily generate large, out-of-
spec bar codes. 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.
EAN 13 bar codes use eight-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:
 1 module wide bar : 1 module wide space : 
2 module wide bar : 2 module wide space : 3 
module wide bar : 3 module wide space : 4 module 
wide bar : 4 module 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 bar/space element relationships for bar code readability. 
When designing unique ratio data, carefully plot bar/space ratios to conform 
to readable bar codes.
data
The bar code data. EAN 13 bar codes encode 
exactly 12 digits. The first character input is 
interpreted as the number system character. (A bar 
code character is not produced for the number 
system character.) The next six characters are the 
left side (the upper side on vertically oriented 
symbols). The final five characters are the right side 
(or the lower side on vertically oriented symbols). A 
thirteenth character is an automatic check digit 
which is computed and printed in the last character 
position in the right data field. If the 2- or 5-digit 
add-on data field is used, include this data at the 
end of the data field. The characters available for 
the data field are 0 through 9 (hex 30 through 39, 
respectively).










