Program Example - Epson TM-L60II Technical Information

Paper roll printers
Hide thumbs Also See for TM-L60II:
Table of Contents

Advertisement

C O N F I D E N T I A L

Program Example

PRINT #1, CHR$(&H1B);"@";
PRINT #1, CHR$(&H1B);"L";
Select page mode
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR&(180);
PRINT #1, CHR$(&H1B);"W";CHR$(6);CHR $(0);CHR$(0);CHR$(0);CHR$(244);CHR$(1);CHR$(238);CHR$(2);
PRINT #1, CHR$($H1B);"T";CHR$(0);
n=10: GOSUB Edge
PRINT #1, CHR$(&H1B);"T";CHR$(1);
n=15: GOSUB Edge
PRINT #1, CHR$(&H1B);"T";CHR$(2);
n=10: GOSUB Edge
PRINT #1, CHR$(&H1B);"T";CHR$(3);
n=15: GOSUB Edge
PRINT #1, CHR$(&H1B);"W";CHR$(140);CHR$(0);CHR$(118);CHR$(0);CHR$(104);CHR$(1);CHR$(16);CHR$(2);
PRINT #1, CHR$(&H1B);"T";CHR$(1);
PRINT #1, CHR$(&H1D);"!";CHR$(17);
PRINT #1, CHR$(&HA);" Merry Christmas !!";CHR$(&HA);CHR$(&HA);
PRINT #1, CHR$(&H1D);"!";CHR$(16);
PRINT #1, " 10% OFF COUPON";CHR$(&H1B);"J":CHR$(200);
PRINT #1, "EPSON DEPARTMENT STORE";
PRINT #1, CHR$(&H1B);"W";CHR$(50);CHR $(0);CHR$(76);CHR$(2);CHR$(72);CHR$(0);CHR$(68);CHR$(0);
PRINT #1, CHR$(&H1B);"T";CHR$(1);
PRINT #1, CHR$(&H1B);"3";CHR$(24);
PRINT #1, CHR$(&H1B);"*";CHR$(0);CHR$(34);CHR$(0)
FOR c=1 to 34 READ a$: PRINT #1, CHR$(VAL("&H"+a$));:NEXT c
PRINT #1, CHR$(&H1B);"*";CHR$(0);CHR$(34);CHR$(0)
FOR c=1 to 34 READ a$: PRINT #1, CHR$(VAL("&H"+a$));:NEXT c
PRINT #1, CHR$(&H1B);"*";CHR$(0);CHR$(34);CHR$(0)
FOR c=1 to 34 READ a$: PRINT #1, CHR$(VAL("&H"+a$));:NEXT c
(Continued on next page)
Paper roll
Usable application programs and tips
Initialize the printer
Set horizontal and vertical motion units
Select printing direction (left to right)
Select printing direction (bottom to up)
Select printing direction (right to left)
Select printing direction (up to bottom)
Select printing direction (bottom to up)
Select printing direction (bottom to up)
Transmit
edge data
Transmit a
message
Transmit data
for symbol A
Ver. 4.0
p. 959
more
more

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t88iiTm-u300a/bTm-u200b/d

Table of Contents