EPSON
TITLE
SHEET
REVISION
NO.
SHEETNEXT
F
TM-U295/U295P
Specification
(STANDARD)
App.7App.8
Note that a line feed was inserted between lesson and TEST 1 in Figure E.1.1. This line feed was
inserted automatically because there was no room for the blank following the word lesson within the
horizontal range of the 100
´
100 printing area. The feed amount here is that specified by
ESC 3
. Any
number of printing areas can be specified before the
FF
is executed. If any printing areas overlap,
however, the logical sum of the logical sum of the data written to the overlapping portions is used for the
final printing.
It is possible to erase a portion of the data that is already developed. Using
ESC W
, specify a printing
area consisting of only the section to be erased, then use
CAN
to erase the data. Note that all the data
existing in the specified printing area is erased, even if it is just a portion of a character.
Example 2: Sample program in BASIC
100 PRINT #1,CHR$(&H1B);"L";
110 PRINT #1,CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0);CHR$(0);
120 PRINT #1,CHR$(100);CHR$(0);CHR$(100);CHR$(0);
130 PRINT #1,CHR$(&H1B);"T";CHR$(0);
140 PRINT #1,"Page mode lesson 2 CAN command"
150 PRINT #1,"ABCDEFGHIJKLMNOPQRST1234567890"
160 PRINT #1,CHR$(&HC);
This example works as follows:
First, transmit
ESC L
to switch to page mode (line no.100). Then use
ESC W
to send 8 arguments,
from
x
L
to
dy
H
to specify the printing area. To specify a printing area of 100 dots in the x direction and
100 dots in the y direction, starting from the origin (0, 0), the arguments are transmitted in the order of 0,
0, 0, 0, 100, 0, 100, 0 (line nos. 110 and 120). In addition, the printing direction is specified as 0 by
using
ESC T
(line no.130).
After these items are specified, the print data Page mode lesson 2 CAN command and
ABCDEFGHIJKLMNOPQRST 1234567890 are transmitted (line no. 150). By sending
FF
(line
no.160), the printout shown in Figure E.1.2 is produced.