Citizen Systems CT-S2000 Printer User Manual


 
- 299 -
Page mode lesson
2CAN command
ABCDEFGHIJKLMNOP
QRST1234567890
Print area
400
(
0
,
0
)
200
Print Direction
Paper
Figure 5-4 Example 2: Result of Print
Before an FF is sent (170th line), the following program code can be added to remove part of the data.
< Example 2 >
180 PRINT1CHR$(&H1B);"W";CHR$(72);CHR$(0);CHR$(120);CHR$(0);
190 PRINT1CHR$(36);CHR$(0);CHR$(48)CHR$(0;
200 PRINT1CHR$(&H18);
As a result of the additional program code, a print-out is executed as shown in Figure 5-5 “Print Result of Adding
a Program of Example 3 to Example 2”, where the string “GHI” is removed.
When strings are removed with CAN, the area where the string would have been is not used by the rest of the
data, instead it is converted into a sequence of spaces.