Print sample function, Code, Outline – Star Micronics DOT MATRIX PRINTER SP2000 User Manual

Page 28

Advertising
background image

26

First, since the volume of data is 30,

n1 = (1E)H. If the data m1 to

m30 is converted to hexadecimal, it appears as shown below.

Print Sample

FUNCTION

8 dot high density graphics

CODE

<ESC> "L"

n1 n2 m1 m2...

(1B)H (4C)H

n1 n2 m1 m2...

DEFINITION RANGE

1

<

=

n1 + 256 X n2

<

=

420 (DIP SW 1-5 = ON))

1

<

=

n1 + 256 X n2

<

=

400 (DIP SW 1-5 = OFF)

OUTLINE

Executes double density bit image printing (half-dot printing)

determined by "n1" and "n2". The total number of bit image data

bytes in one line is equal to

n1 + n2 X 256. Refer to <ESC> K as

to the relation between the dot position and the bit number. The

printer ignores any data bytes over the specified amount allowed

in one line. Pringing is uni-directional.

The printer does not print adjacent dots. When the bit image

printing is finished, the printer automatically returns to the

character mode.

Data

Binary

Hex

m1

00000001

01

m2

00011110

1E

m3

00111110

3E

m4

01011111

5F

m5

00011111

1F

m6

01011110

5E

m7

00011110

1E

m8

00111111

3F

m9

00101111

2F

m10

00111110

3E

Data

Binary

Hex

m11

00111110

3E

m12

00000010

02

m13

00000010

02

m14

00111110

3E

m15

00111110

3E

m16

00101111

2F

m17

00101111

2F

m18

00111110

3E

m19

00101110

2E

m20

00101110

2E

Data

Binary

Hex

m21

00111110

3E

m22

00101110

2E

m23

00101110

2E

m24

00111110

3E

m25

00101111

2F

m26

00101111

2F

m27

00111110

3E

m28

00111110

3E

m29

00000010

02

m30

00000010

02

Advertising