User`s manual
Section 17: Extended IBM Printer Emulation AXIS 5470e User’s Manual
196
Before the bar codes can be printed, a bar code format has to be
defined. This format sets the type and size of the bar code to be
printed. Up to 16 formats can be predefined. The definitions are made
by setting up the BAR parameter.
The BAR parameter takes several arguments, separated by commas,
as shown below:
• number is the bar code definition number in the range 0–15. This
number is used to refer to the definition when printing the bar
code.
• type is the predefined bar code type. Valid values are:
• width is the bar code module width in 1/1000 inch. Valid range is
1 to 1000. The default value is 12.
• height is the bar code element height in 1/24 inch. Valid range is
1 to 500. The default value is 12.
• text mode selects if human readable text is printed under the bar
code or not. ‘YES’ or ‘ON’ will turn on text, ‘NO’ or ‘OFF’ will turn
off text. The default mode is ‘ON’.
• check mode selects if a check digit will be generated or not. ‘YES’
or ‘ON’ will generate a check digit, ‘NO’ or ‘OFF’ will not generate
a check digit. The default mode is ‘ON’. The check digit will
always be generated for bar code types UPCA, EAN8 and EAN13,
regardless of the setting of check mode.
BAR <number>=<type>,<width>,<height>,<text mode>,
<check mode>;
Value Description Value Description
CODE39 Code 39 CODE128 Code 128
UPCA UPC version A INT2OF5 2 of 5 Interleaved
EAN8 EAN-8 CODABAR Codabar matrix
EAN13 EAN-13