Gs / m – Citizen Systems CBM-270 User Manual

Page 76

Advertising
background image

CBM-270 User’s Manual

GS * n1 n2 [ d ] n1

×

n2

×

8

[Function]

Defining the download, bit image

[Code]

<1D> H <2A> H <n1> <n2> [ <d> ] n1

×

n2

×

8

[Range]

1

n1

255

1

n2

48

n1

×

n2

1311

[Outline]

Defines downloading bit images of the number of dots specified by n1/n2.

The numbers of dots are n1

×

8 in horizontal direction and n2

×

8 in vertical direction.

d indicates bit image data.

The download bit image thus defined remains effective until redefinition, ESC @
execution, ESC &, or power OFF takes place.

[Caution]

A download character and a download bit image can not be defined simultaneously.

W ith this c omma nd exe cute d, de fined conte nt of a downloa d cha ra cte r is clea red.

Relations between the bit image data and the dot defined are shown below:

[See Also]

GS /, ESC &

[Sample Program]

[Print Results]

GOSUB *IMG

LPRINT CHR$ (&H1D) ; "/" ; CHR$ (0) ;

LPRINT CHR$ (&H1D) ; "/" ; CHR$ (1) ;

LPRINT CHR$ (&H1D) ; "/" ; CHR$ (2) ;

LPRINT CHR$ (&H1D) ; "/" ; CHR$ (3) ;

END

*IMG :

N1 = 8 : N2= 8

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

LPRINT CHR$ (N1) ; CHR$ (N2) ;

FOR J=1 TO N1*8

FOR I=1 TO N2

LPRINT CHR$ (J) ;

NEXT I

NEXT J

RETURN

END

GS / m

[Function]

Printing the download, bit image

n2

×

8 dots

n1

×

8 dots

Quadruple Mode

Normal Mode

Double Height Mode

Double Width Mode

Advertising