beautypg.com

Star Micronics DP8340 User Manual

Page 21

background image

– 17 –

If the position into which the download character is written
(the character code) is defined as (21)

H

, (22)

H

, (23)

H

, then

we have n

1

= (21)

H

, n

2

= (23)

H

The relation between the

character pattern data and the print head assigns the 9 pin as
unused. Therefore, m

0

= (80)

H

.

If data m

1

to m

18

is converted to hexadecimal, it appears as

follows.

DATA TRANS -
MISSION

PRINT SAMPLE

Data

Binary

Hex.

m

1

10100000

A0

m

2

10100000

A0

m

3

10111110

BE

m

4

10100000

A0

m

5

10100000

A0

Data

Binary

Hex.

m

1

10011000

98

m

2

11100100

E4

m

3

10000010

82

m

4

11100100

E4

m

5

10011000

98

Data

Binary

Hex.

m

1

11111111

FF

m

2

10000011

83

m

3

10111101 BD

m

4

11000001

C1

m

5

11111111

FF

(1) Difine download (1B)

H

(26)

H

(00)

H

(21)

H

(23)

H

(80)

H

(A0)

H

(A0)

H

(BE)

H

(A0)

H

(A0)

H

(80)

H

(98)

H

(E4)

H

(82)

H

(E4)

H

(98)

H

(80)

H

(FF)

H

(83)

H

(BD)

H

(C1)

H

(FF)

H

(2) Select download (1B)

H

(25)

H

(01)

H

(3) Character code

(21)

H

(22)

H

(23)

H

(A0)

H

(4) Cancel download (1B)

H

(25)

H

(00)

H

(5) Character code

(21)

H

(22)

H

(23)

H

(0A)

H

CODE

ESC a n
(1B)

H

(61)

H

n

FUNCTION

n-line feed

OUTLINE

After printing the data in the current line, n lines are fed by this
code. The value of n ranges from 1 to 120.

CODE

ESC C n
(1B)

H

(43)

H

n

FUNCTION

Sets page length in lines

OUTLINE

This code sets the length of a page to n lines. The value of n
ranges from 1 to 120. On initialization, the page length
default condition will be 42 lines. The line feed pitch is one-
sixth inch.