Seiko Instruments DPU-30 User Manual

Page 58

Advertising
background image

5-30

GS k m d1...dk NUL Barcode

Print

Code

1D

16

+ 6B

16

+ m + d1...dk + NUL

Domain of

function

1

≤ m ≤ 7

The values of d1 to dk depend on a type of Barcode.

Function

Selects a type of Barcode and prints the Barcode.

m

Type of Barcode

1 UPC-E

2 JAN13

3 JAN8

4 CODE39

5 ITF

6 CODABAR

7 CODE128

Details

• This command is finished by a NUL code.
• UPC−E is the 7-byte Barcode data and internally adds a check digit.
• JAN13 is the 12-byte Barcode data and internally adds a check digit.
• JAN8 is the 7-byte Barcode data and internally adds a check digit.
• CODE39 automatically adds the start and stop modules.
• ITF is the even number-byte Barcode data and automatically adds the start and

stop modules.

• CODE128 transmits the start module and the Barcode data. And the check digit

and the stop module are automatically added.

If the special characters are included in the data, specify them at 2 bytes as

follows.

SHIFT

→ 7B

16

, 53

16

({S)

CODE

A

→ 7B

16

, 41

16

({A)

CODE

B

→ 7B

16

, 42

16

({B)

CODE

C

→ 7B

16

, 43

16

({C)

FNC

1

→ 7B

16

, 31

16

({1)

FNC

2

→ 7B

16

, 32

16

({2)

FNC

3

→ 7B

16

, 33

16

({3)

FNC

4

→ 7B

16

, 34

16

({4)

{

→ 7B

16

, 7B

16

({{)


Example) When printing Start Code C, Fnc 1, and 0012, (where n

= 7),

send

1D

16

, 6B

16

, 07

16

, 69

16

, 7B

16

, 31

16

, 30

16

, 30

16

, 31

16

, 32

16

, 00

16

in this order.

Advertising