Citizen CBM-270 GS * n1 N2 d n1 ´ n2 ´, See Also GS /, ESC N1´8 dots N2´8 dots Sample Program

Models: CBM-270

1 114
Download 114 pages 19.21 Kb
Page 78
Image 78

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.

 

With this command executed, defined content of a download character is cleared.

 

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

[See Also]

GS /, ESC &

n1´8 dots

 

 

n2´8 dots

[Sample Program]

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

[Print Results]

Normal Mode

Double Width Mode

Double Height Mode

Quadruple Mode

78

CITIZEN

Page 78
Image 78
Citizen CBM-270 user manual GS * n1 N2 d n1 ´ n2 ´, See Also GS /, ESC N1´8 dots N2´8 dots Sample Program