Epson TM-290-II Operator's Manual page 48

Slip printer
Table of Contents

Advertisement

EX 1) A sample program written in BASIC (the output from this program is
transmitted to the printer by assigning the printer port to file number
"#1" using an OPEN statement).
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 TEST1"
150
PRINT #1, CHR$(&HC);
The above sample program specifies a printable area of 100X100 from the
start position (0,0), and the first line is written as shown in Figure 6-4-2.
In Figure 6-4-2, a line has been fed between "lesson" and "TEST1". This
is because the 100x100 printable area is not wide enough to hold all of
the print data, so a line has been fed automatically. The line spacing used
ESC 3.
here is set using
Any number of printable areas can be specified before
However, if any printable areas overlap the logical sum of the data in the
overlapping portion of the areas will be calculated.
When previously buffered data needs to be partially deleted,
This command clears all the currently specified area. A partial delete can
be executed by specifying a printable area which contains only the data to
ESC W,
be deleted using
any data in the specified area, even if it is just part of a character, will be
deleted.
Figure 6-4-2
and then executing
- 4 3 -
FF
is executed.
CAN
CAN.
It should be noted that
is used.

Advertisement

Table of Contents
loading

Table of Contents