Programming Manual

4. Bar Code Specifications

 

 

UPC-A/EAN-13

Command Structure:

<ESC>B3bbccc (data) <ESC>D3bbccc (data) <ESC>BD3bbccc (data)

bb:Width of narrow element in dots (01-03)

ccc:Bar height in dots (001-600)

(data): Bar code data (numeric); must be exactly 13 digits. For UPC-A, the first digit must be a zero and the last 11 di- gits are the actual UPC-A data followed by a check di- git.

To select UPC-A, 11 digits of data is sent. The printer adds a “0” and automatically generates the check digit. If 12 digits of data are sent, the printer assumes an EAN-13 symbol and automatically generates the check digit. The last digit of the bar code data is a modulo 10 check digit. If 13 digits of data are sent to the printer, the check digit is not created and must be supplied by the programmer. It must be the last character in the 13 digit string and can be determined by using the cal- culations outlined below.

Character Set:

0-9 (numeric only)

Density table and Output:

 

Printer

Value of

Narrow

Narrow

Magnification

Example

Resolution

“bb”

Bar

Bar

Factor

output

 

 

 

Width

Width

 

(scaled 70%)

 

 

 

(mils)

(mm)

 

 

 

 

 

 

 

 

 

 

12 dot/mm

04

13.0

0.333

100%

 

 

 

 

 

 

 

 

 

8 dot/mm

02

10.0

0.25

75%

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SATO RISC Printers

137

Page 137
Image 137
SATO M8460S, XL400/410, M8490S, M-8400RV, M8485S, M8459S manual UPC-A/EAN-13, ESCB3bbccc data ESCD3bbccc data ESCBD3bbccc data