- 439 -
InFigure 4-3,a line feedoccurs between“lesson”and“Test 1” because the space ““next to “lesson” does not fitin the
horizontal range of the 200 400 -pitchprintarea.The linefeedwidthconforms to thevalue specifiedbya commandsuchas
ESC 3.
Itis possibleto setas manyprintareas asdesiredbefore executing FF. If printareas overlapeachother,the print area setup
data are ORed with thepreviousdata.
Ifyouwantto erase asectionofmapped data, use the CANcommand.The CANcommanderasesall data inthe print area
beingspecified.Youcan,therefore,useanESCWtodefineaprintareathatenclosesthesectionyouwanttoerase,andthen
execute theCANcommand,sothat thesection ofthe data iserased.
It is important toremember that anypartofa character that overlapswith thespecifiedprint area will be erased.
<Example2>
100PRINT #1,CHR$(&H1B);"L";
110PRINT #1,CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0);CHR$(0);
120PRINT #1,CHR$(200);CHR$(0);CHR$(144);CHR$(1);
130PRINT #1,CHR$(&H1B);"T";CHR$(0);
140PRINT #1,"Page mode lesson2CANcommand";
150 PRINT#1,CHR$(&HA);
160 PRINT#1, "ABCDEFGHIJKLMNOPQRST1234567890";
170 PRINT#1,CHR$(&HC);
First,anESCL issenttoswitch toPAGE MODE (100thline). Next, anESC Wis used to send eight arguments, n1 ton8, to
reserve aprintarea.In this example, the arguments are sent in thesequenceof0, 0, 0,0, 200, 0,144, and1, toreserve a
print area that measures 200 from the startpoint (0,0) inthe “x”directionand 400 in the“y” direction(110th to120th line).
Furthermore,an ESCT isissued tospecify the print directionto be“0” (130th line).
Aftertheabove setup, print data issent(140th to 160thline). Finally, anFF issent(170th line) toproduce aprint-out as
shown inFigure 5-4 “Example 2: Result ofPrint”.