Specifications
Rev. A Command Descriptions 1-11
TM–U950/U950P Information Manual
ESC % n selects or cancels the user-defined character set. When the LSB (least significant bit) of n is 1,
the user-defined character set is selected. When it is 0, the internal character set is selected; this is the
default setting.
ESC & y c1 c2 [x1 d1 ... d(y
×
x1)] ... [xk d1 ... d(y
×
xk)] defines user-defined characters from character
code c1 to c2. The maximum number of user-defined characters differs depending on the receive
buffer capacity. y and x are the configuration of a user-defined character. y specifies the number of
bytes in the vertical direction. x specifies the number of bytes in the horizontal direction. Data (d)
specifies a bit printed to 1 and not printed to 0. As the default, user-defined characters are not
defined and the internal character set is printed. Once the user-defined characters have been defined,
they are available until ESC @, ESC ?, or GS
✻ is executed; the user-defined characters are redefined;
the power is turned off; or the printer is reset.
ESC ? n cancels the user-defined characters defined for the character code n. After the user-defined
characters are canceled, the internal character set is printed.
Program Example Print Sample
PRINT #1, CHR$(&H1B);"&";CHR$(2);"AC";
x=7: PRINT #1, CHR$(x);
FOR i=1 TO 2*x
READ d: PRINT #1, CHR$(d);
NEXT i
x=9: PRINT #1, CHR$(x);
FOR i=1 TO 2*x
READ d: PRINT #1, CHR$(d);
NEXT i
x=9: PRINT #1, CHR$(x);
FOR i=1 TO 2*x
READ d: PRINT #1, CHR$(d);
NEXT i
PRINT #1, CHR$(&H1B);"%";CHR$(0);
PRINT #1, "A B C D E"; CHR$(&HA);
PRINT #1, CHR$(&H1B);"%";CHR$(1);
PRINT #1, "A B C D E"; CHR$(&HA);
PRINT #1, CHR$(&H1B);"?";"A";
PRINT #1, "A B C D E"; CHR$(&HA);
A B C D E
←
Characters from internal character set
♦
◊
↑
D E
←
Characters from user-defined character set
A
◊
↑
D E
←
Characters from user-defined character set
DATA &H30,&H00,&H78,&H00,&HFC,&H00,&H78,&H00
DATA &H30,&H00,&H00,&H00,&H00,&H00
DATA &H18,&H00,&H24,&H00,&H42,&H00,&H81,&H00
DATA &H42,&H00,&H24,&H00,&H18,&H00,&H00,&H00
DATA &H00,&H00
DATA &H18,&H00,&H28,&H00,&H4F,&H80,&H80,&H80
DATA &H4F,&H80,&H28,&H00,&H18,&H00,&H00,&H00
DATA &H00,&H00
Defines the
user-defined
characters as
"A", "B", and "C"