beautypg.com

Esc % n – Citizen Systems BD2-2220 User Manual

Page 41

background image

- 41 -

ESC % n

CT-S280

CT-S300

CT-S2000

CT-S4000

BD2-2220

CT-S310

support model

PMU2XXX

[Function]

Specifying/canceling download character set

[Code]

<

1B>H<25>H

[Range]

0≦n≦255

[Outline]

[The specification which is common to the model]

Specifying/canceling download characters.
• “n” is valid only for the lowest bit (n0).
• Control by the lowest bit (n0) is shown as follows:

Function

n0

0

Canceling download character set

1

Specifying download character set

[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);"&";

DACT-S2000

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 REP*3

DATA &H9F,&H06,&H01

READ D

DATA &HF8,&H06,&H01

LPRINT CHR$(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]

@ A Internal character set

Download character

This manual is related to the following products: