Citizen PPU-231 Printer User Manual


 
PPU-231 User’s Manual
44
CITIZEN
ESC % n
[Function] Specifying/Canceling Download Character Set
[Code] <1B>H<25>H<n>
[Range] {0 n FF} data is described in Hex code.
[Outline] Specifying/canceling download characters.
Further, only the lowest bit (n0) is valid for n.
The lowest bit (n0) indicates the following.
n0 Function
0 Canceling download character set
1 Specifying download character set
[Caution] Download characters and download bit images can not be defined simultaneously.
[Default] n = 0
[See Also] ESC &
[Sample Program]
GOSUB SETCHR DATA 6
LPRINT CHR$ (&H1B) + "%" + CHR$ (0) ; DATA &HFF, &H80, &H00
LPRINT "@A" + CHR$ (&HA) ; DATA &H80, &H80, &H00
LPRINT CHR$ (&H1B) + "%" + CHR$ (1) ; DATA &H80, &H80, &H00
LPRINT "@A" + CHR$ (&HA) ; DATA &H80, &H80, &H00
END DATA &HFF, &HFF, &HFF
SETCHR : DATA &HFF, &HFF, &HFF
LPRINT CHR$ (&H1B) + "&" ; DATA 12
LPRINT CHR$ (3) + "@" + "A" ; DATA &HFF, &HFF, &HFF
FOR J=1 TO 2 DATA &H80, &H07, &HF9
READ REP DATA &H80, &HFF, &HF9
LPRINT CHR$ (REP) ; DATA &H87, &HFE, &H01
FOR I=1 TO REP3 DATA &H9F, &H06, &H01
READ D DATA &HF8, &H06, &H01
LPRINTCHR$ (D) ; DATA &HF8, &H06, &H01
NEXT I DATA &H9F, &H06, &H01
NEXT J DATA &H87, &HFE, &H01
RETURN DATA &H80, &HFF, &HF9
DATA &H80, &H07, &HF9
DATA &HFF, &HFF, &HFF
[Print Results]