Print Ean 8 Bar Code Command; Ean 13 Bar Code Commands; Select Ean 13 Bar Code Command; Print Ean 13 Bar Code Command - Oki MICROLINE ML521 Reference Manual

Oki microline ml521: reference guide
Hide thumbs Also See for MICROLINE ML521:
Table of Contents

Advertisement

Print EAN 8 Bar Code Command

The command for printing an EAN 8 bar code is
where parameter m designates the number of characters which will follow in the data. If you
wish to include a check digit, enter the ASCII character @ (64 Dec, 40 Hex) at the end of the
data.

EAN 13 Bar Code Commands

EAN 13 encodes 13 digits and contains the same number of bars as UPC A. The thirteenth digit
combined with the twelfth digit provides a code representing a country. The digits can be any
ASCII character from 0 to 9 (48 to 57 Dec, 30 to 39 Hex).

Select EAN 13 Bar Code Command

The command for selecting EAN 13 is
EAN 13 Parameters n
and n
3
These parameters set the vertical length of the bars in 6/72", as calculated by the equation
where the total value must be less than or equal to 25.
EAN 13 Parameter n
5
This parameter sets the maximum width of one character in 1/144" increments as follows:
Table 83: IBM/Epson Select EAN 13 Command —
Maximum Character Widths for Parameter n
When calculating the width of the printout, you must take into consideration the left hand
guard pattern, the center guard pattern and the right hand guard pattern.
EAN 13 Parameter n
8
This parameter sets whether or not the readable characters are printed.
n
= 1: print readable characters
8
n
= 0: do not print readable characters
8

Print EAN 13 Bar Code Command

The command for printing EAN 13 bar codes is
Chapter 10: Bar Code Commands for 9-Pin Printers
ESC DLE B m [data]
ESC DLE A m 0 2 n
4
[(n
x 10) + n
3
4
Value of n
Character Width
5
1
2
3
4
5
6
7
ESC DLE B m [data]
n
n
0 0 n
3
4
5
8
] x 6/72"
Values (9-Pin Printers)
5
19/144"
26/144"
33/144"
40/144"
47/144"
54/144"
61/144"
111

Advertisement

Table of Contents
loading

Table of Contents