Telpar MTP-1530II Receipt Thermal Printer User Manual
MTP-1530II User Manual (Revision 20120510)
Page 40
but if the starting position is set to
the upper right or lower left of the
printing area then the offset is in the
horizontal direction.
Turn
smoothing
mode on/off
GS b +n
1D 62 +n
LSB = 0 turns smoothing off. LSB =
1 turns smoothing on. Smoothing
applies to built-in or user defined
characters when printed at any size
larger than the normal. See ESC !,
GS !.
Page Mode Commands
Here is an example of using page mode:
A typical procedure for transmitting commands in page mode is as follows:
(1) Transmit
ESC L
to enter page mode.
(2) Specify the printable area using ESC W.
(3) Specify the printing direction using ESC T.
(4) Transmit the print data.
(5) Collectively print the data by sending an FF.
(6) After printing, the printer automatically returns to standard mode.
Example:
Sample program in BASIC (assumes transmission to the printer is already possible with file #1
open)
100 PRINT #1,CHR$(&H1B);"L";
110 PRINT #1,CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0);CHR$(0);
120 PRINT #1,CHR$(200);CHR$(0);CHR$(144);CHR$(1);
130 PRINT #1,CHR$(&H1B);"T";CHR$(0);
140 PRINT #1,"Page mode lesson TEST 1"
150 PRINT #1,CHR$(&HC);
In the program, a printable area of 200 X 400 dots starting at (0,0) is set, and characters are printed on
the first line of the area as shown in the figure below. Note that a line feed was inserted between
"lesson" and "TEST 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 200
⋅
400 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.
Page mode lesson
TEST 1
(0,0)
200
400
Printable area
Paper