Citizen Systems PMU2XXX Manual De Usuario

Descargar
Página de 312
 
- 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  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); 
 
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.