5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
 214
Chapter 3 Bar Codes
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.
UPCSHIP 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 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.
data
The bar code data. The UPCSHIP bar code 
requires exactly 13 characters of data. The 
characters available for the data field are 0 through 
9 (hex 30 through 39, respectively).
(cc)G Terminates the bar code command. Enter the 
SFCC for your Code V configuration immediately 
followed by any valid command character or G, the 
universal sequence terminator.
UPCSHIP Example
The following command generates the bar code shown below.
PY^-^M2020^
IBARC,UPCSHIP,B,0001234567890^G^
-^PN^-










