- 440 -
Figure 5-4Example 2:Result of Print
BeforeanFF issent(170thline), thefollowingprogram codecanbeadded toremove part ofthe data.
<Example2>
180 PRINT♯1,CHR$(&H1B);"W";CHR$(72);CHR$(0);CHR$(120);CHR$(0);
190 PRINT♯1,CHR$(36);CHR$(0);CHR$(48)CHR$(0);
200 PRINT♯1,CHR$(&H18);
Asaresultoftheadditionalprogramcode,aprint-outisexecutedasshowninFigure5-5“PrintResultofAddingaProgramof
Example 3to Example2”,where thestring “GHI”isremoved.
Whenstringsare removedwithCAN, the area wherethestringwouldhavebeenisnot usedbythe rest of thedata,instead
it is convertedintoa sequenceofspaces.
Page mode lesson
2CAN command
ABCDEFGHIJKLMNOP
QRST1234567890
Print area
Paper
400