Programmer’s Guide
TH200
101
Note that a line feed was inserted between "In" and "Page" in Figure 1.1. This line feed was inserted
automatically because there was no room for the blank " " following the word "In" within the horizontal
range of the 180
460 printable area. The feed amount here is that specified by
ESC 3
.Any number of
printable areas can be specified before the
FF
is executed. If any printable areas overlap, however, 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 printable
area consisting of only the section to be erased; then use
CAN
to erase the data. All the data existing
in the specified printable area can be 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$(180);CHR$(0);CHR$(204);CHR$(1);
130 PRINT #1,CHR$(&H1B);"T";CHR$(0);
140 PRINT #1,"The CAN Command Test In Page Mode"
150 PRINT #1,CHR$(&H0A);
160 PRINT #1,"ABCDEFGHIJKLMNOPQRST1234567890"
170 PRINT #1,CHR$(&H0C);
This example works as follows:
First, transmit
ESC L
to switch to page mode (line no. 100). Then use
ESC W
to send 8 parameters
from
n1
to
n8
to specify the printable area. To specify a printable area of 180 dots in the x direction
and 460 dots in the y direction, starting from the origin (0,0), the parameters are transmitted in the
order of 0,0,0,0,180,0,204,1 (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 "The CAN Command Test In Page Mode" and
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" are transmitted (line nos. 140 to 160). By sending
FF
(line
no. 170), the printout shown in Figure 1.2 is produced.
Figure 1.2 Page Mode Example 2
If the program lines listed below are included before the
FF
is transmitted, a portion of the data will be
Summary of Contents for TH200
Page 1: ...TH200 High Speed Thermal Printer Programmer s Guide TH200 March 2005 ...
Page 19: ...Programmer s Guide TH200 19 When font B 9 17 is selected ...
Page 21: ...Programmer s Guide TH200 21 When 24 dot bit image is selected ...
Page 73: ...Programmer s Guide TH200 73 pattern 3 2 PAGE1 Katakana ...
Page 74: ...Programmer s Guide TH200 74 3 3 Page 2 PC850 Multilingual ...
Page 75: ...Programmer s Guide TH200 75 3 4 Page 3 PC860 Portuguese ...
Page 76: ...Programmer s Guide TH200 76 3 5 Page 4 PC863 Canadian French ...
Page 77: ...Programmer s Guide TH200 77 3 6 Page 5 PC865 Nordic ...
Page 78: ...Programmer s Guide TH200 78 3 7 Page 18 PC852 Latin2 ...
Page 79: ...Programmer s Guide TH200 79 3 8 Page 19 PC858 ...
Page 80: ...Programmer s Guide TH200 80 3 9 Page 16 WPC1252 ...
Page 81: ...Programmer s Guide TH200 81 3 10 Page 17 PC866 Cyrillic 2 ...
Page 82: ...Programmer s Guide TH200 82 3 11 Thai character code 11 ...
Page 83: ...Programmer s Guide TH200 83 3 12 International Character Set ...