Gs k 128 n, Gs k 21 d – Bematech MP-4000 TH Programmer's Manual User Manual

Page 54

Advertising
background image

MP-4000 TH POS Printer Rev.1.4

Programmer’s

Manual

22-aug-2007
Firmware Release: 1.5

54

GS k 128 n

1

n

2

n

3

n

4

n

5

n

6

d

1

…d

n

[Function]

Prints a PDF-417 barcode

[Format]

ASCII

GS

k

128

n

1

n

2

n

3

n

4

n

5

n

6

d

1

…d

n

Hexadecimal

1D 6B 80 n

1

n

2

n

3

n

4

n

5

n

6

d

1

…d

n

Decimal

29 107 128 n

1

n

2

n

3

n

4

n

5

n

6

d

1

…d

n

[Description]

n

1

is the ECC level (from 0 to 8) (Error correction level).

n

2

is the pitch height (from 1 to 8) where height=n

2

x 0.125mm.

n

3

is the pitch width (from 1 to 4) where width=n

3

x 0.125mm.

n

4

is the number of codewords per row – if n

4

is 0, the maximum

number of columns allowed for the pitch width informed will be used. If

the barcode can’t fit the print width the printer automatically adjusts it

for the maximum permitted width within the line field.

n

5

and n

6

indicate the number of bytes that will be coded, where

total=n

5

+ n

6

x 256, and total must be less than 900.

d

1

…d

n

is the actual sequence of bytes that will be coded.

GS k 21 d

1

…d

9

NUL

[Function]

Prints an ISBN barcode

[Format]

ASCII

GS

k

21

d

1

…d

9

NUL

Hexadecimal

1D 6B 15 d

1

…d

9

00

Decimal

29 107 21 d

1

…d

9

0

[Description]

d

1

…d

9

is the sequence of 9 bytes containing the barcode information.

The bytes that can be used in d are 45, 48 to 57 and 88. If hyphens

were included in the information as in the example below, they will not

be computed as a byte received. After the ninth valid digit, an hyphen

can be added followed by an “X” (58h) or any other digit (30h to 39h).

In this case there are two options:

1. Send the 00h and the barcode will be printed

2. Send space (20h) and more 5 digits (30h to 39h)

Example: 1-56592-292-X 90000

1-56592-292-1

90000

1-56592-292-X

1-56592-292-1

Advertising
This manual is related to the following products: