beautypg.com

Esc * m n1 n2 [ d ] k – Citizen Systems CBM-270 User Manual

Page 52

background image

CBM-270 User’s Manual

ESC * m n1 n2 [ d ] k

[Function]

Specifying the bit image mode

[Code]

<1B> H <2A> H [] k

[Range]

m= 0, 1, 32, 33

0

n1

255

0

n2

1

0

d

255

k = n1 + 256

×

n2

(m = 0, 1)

k = (n1+ 256

×

n2)

×

3

(m = 32, 33)

[Outline]

Acc or ding to the num ber of dot s spe c if ie d i n n1, n2, spe ci fy the bit i m age of mode n.

The No. of dots printed is divided by 256, whose quotient is taken as n2 and residualas

n1.

The total no. of dots printed in the bit image is equal to n1 + (256

×

n2).

When bit image data have been input in excess of dot position of one line (448 dots) , the

excess data are discarded.

d i s bit image dat a, the bit s subject to pr inting are take n as "1" a nd those not as "0".

The bit image modes specified by m are shown as follows:

Vertical Direction

Horizontal Direction

m

Mode

No. of Dots

Dot Density

Dot Density

Max. No. of Dots

0

8-dot single density

8

67 DPI

101 DPI

192

1

8-dot double density

8

67 DPI

203 DPI

384

32

24-dots single density

24

203 DPI

101 DPI

192

33

24-dots double density

24

203 DPI

203 DPI

384

[Caution]

When the values set in m (Bit image mode) are out of the above range, the data following

after n1 is processed as normal printing data.

After completion of bit image printing, printer returns to normal data processing mode.

[Example]

[Sample Program]

LPRINT CHR$ (&H1B) ; "*" ;

LPRINT CHR$ (0) ; CHR$ (20) ; CHR$ (0) ;

*IMG1:

GOSUB *IMG1

LPRINT CHR$ (&HFF) ;

LPRINT CHR$ (&HA) ;

FOR I=1 TO 18

LPRINT CHR$ (&H1B) ; "*" ;

LPRINTCHR$ (&H85) ;

LPRINT CHR$ (1) ; CHR$ (20) ; CHR$ (0) ;

NEXT I