C O N F I D E N T I A L
Paper roll
Character commands CAN
Ver. 4.0
p. 1081
CAN
[Name]
Cancel print data in page mode
[Format]
ASCII
CAN
Hex
18
Decimal
24
[Range]
None
[Default]
None
[Printers not featuring this command]
TM-U200B/D,
TM-U300A/B
[Description]
In page mode, deletes all the print data for the current printing area.
[Notes]
■
This command is enabled only in page mode
■
If data set in the previously specified printing area is set in the currently specified printing
area, it is deleted.
[Model-dependent variations]
None
Program Example for all printers
Print Sample
PRINT #1, CHR$(&H1B);"L";
←
Select page mode
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);
PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0);
CHR$(0);CHR$(240);CHR$(0);CHR$(44);CHR$(1);
PRINT #1, CHR$(&H1B);"T";CHR$(0);
←
Select print direction
FOR i=1 TO 200 : PRINT #1, "A"; : NEXT i
PRINT #1, CHR$(&H1B);"W";CHR$(60);CHR$(0);CHR$(90);
CHR$(0);CHR$(60);CHR$(0);CHR$(120);CHR$(0);
PRINT #1, CHR$(&H18);
←
Cancel print data
PRINT #1, CHR$(&HC);
←
Batch print and return to standard mode
AAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAA
AAAAA AAAAAAAAAA
AAAAA AAAAAAAAAA
AAAAA AAAAAAAAAA
AAAAA AAAAAAAAAA
AAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAA