Citizen Systems CBM-253 User Manual
Page 61
CBM-253 User’s Manual
49
CITIZEN
[Items requiring caution]
When the value of m is outside the conditions, data after n 1 will be processed as ordinary
data. After completion of the bit image printing, the mode will return to normal data
processing.
[Example]
Printing result
[Program example]
LPRINT CHR$ (&H1B) + "*" ;
LPRINT CHR$(0) + CHR$(20) + CHR$(0) ;
GOSUB IMG1
LPRINT CHR$ (&HA) ;
LPRINT CHR$ (&H1B) + "*" ;
LPRINT CHR$ (1) + CHR$ (20) + CHR$ (0) ;
GOSUB IMG1
LPRINT CHR$(&HA) ;
LPRINT CHR$(&H1B) + "*" ;
LPRINT CHR$ (32) + CHR$ (20) + CHR$ (0) ;
GOSUB IMG2
LPRINT CHR$ (&HA) ;
LPRINT CHR$(&H1B) + "*";
LPRINT CHR$(33) + CHR$ (20) + CHR$(0) ;
GOSUB IMG2
LPRINT CHR$ (&HA) ;
END
IMG1:
LPRINT CHR$ (&HFF) ;
FOR I=1 TO 18
LPRINTCHR$ (&H85) ;
NEXT I
LPRINT CHR$ (&HFF) ;
RETURN
IMG2 :
LPRINT CHR$ (&HFF) ;
LPRINT CHR$ (&HFF) ;
LPRINT CHR$ (&HFF) ;
FOR I=1 TO 18
LPRINT CHR$ (&H80) ;
LPRINT CHR$ (&H00) ;
LPRINT CHR$ (&H05) ;
NEXT I
LPRINT CHR$ (&HFF) ;
LPRINT CHR$ (&HFF) ;
LPRINT CHR$ (&HFF) ;
RETURN