CBM-270 User’s Manual

ESC * m n1 n2 [ d ] k

[Function]

Specifying the bit image mode

 

[Code]

<1B> H <2A> H <m> <n1> <n2> [<d>] 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]

According to the number of dots specified in n1, n2, specify the bit image 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 is bit image data, the bits subject to printing are taken as "1" and those not as "0".

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

m

Mode

Vertical Direction

 

Horizontal Direction

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

Page 52
Image 52
Citizen Systems CBM-270 user manual ESC * m n1 n2 d k