Dascom MIP480 User Guide Manuel d'utilisation

Page 107

Advertising
background image

Command Sets

C-11

c: Control flag

c

Control flag

b0: Check Digit

0: No check code is generated by the printer.

The host computer should generate the check code.

1: Check code is generated automatically by the printer.

b1: Human Readable Character

0 : Print On

1 : Print Off

Note: Human readable character is proportionally printed

under the barcode in OCR-B font.

b2: EAN-13, UPC-A flag character position

(EAN-13 : 13th digit)

(UPC-A : number system character)

0 : Center

1 : Under

b3-b7: not used




Set barcode data

ESC [p (n1) (n2) (data)

n1, n2: Command length

n1, n2 Command length

“n1, n2” show data quantity followed “ESC [ p n1, n2”.
“n1” is a low byte of command length data in hexadecimal.
“n2” is a high byte of command length data in hexadecimal.
“n1,n2” value should be the value in the following tables.
If undefined value is found in data string, the printer will ignore
all the received barcode data which length is defined as “n1, n2”.


1) Case of “automatic check digit generation flag off”

Barcode Style

n1 (lowbyte)

n2 (high byte)

EAN-13
EAN-8
CODE 39
INTERLEAVED 2 of 5
UPC-A
CODE 128

0D hex

08 hex

01 to FF hex
01 to FF hex

0C hex

02 to FF hex

00
00
00
00
00
00


2) Case of “automatic check digit generation flag on”

Barcode Style

n1 (lowbyte)

n2 (high byte)

EAN-13
EAN-8
CODE 39
INTERLEAVED 2 of 5
UPC-A
CODE 128

0C hex

07 hex

01 to FF hex
01 to FF hex

0B hex

02 to FF hex

00
00
00
00
00
00

Advertising