Program Example - Epson L60IIP - TM B/W Direct Thermal Printer Information Manual

Information guide
Table of Contents

Advertisement

Program Example

PRINT #1, CHR$(&H1B);"@";
NO$="00001" : GOSUB start
NO$="00002" : GOSUB start
END
start:
PRINT #1, CHR$(&H1B);"a";CHR$(1);
PRINT #1, CHR$(&H1B);"!";CHR$(40);
PRINT #1, "EPSON";
PRINT #1, CHR$(&H1B);"!";CHR$(8);
PRINT #1, "Rental Video"; CHR$(&HA);
PRINT #1, CHR$(&H1B);"!";CHR$(0);
PRINT #1, CHR$(&H1D);"H";CHR$(2);
PRINT #1, CHR$(&H1D);"f";CHR$(1);
PRINT #1, CHR$(&H1D);"h";CHR$(35);
PRINT #1, CHR$(&H1D);"k";CHR$(4);" ";NO$;"*";CHR$(0);
PRINT #1, CHR$(&H1B);"J";CHR$(5);
PRINT #1, CHR$(&H1B);"-";CHR$(2);
PRINT #1, "NAME
PRINT #1, CHR$(&H1B);"J";CHR$(70);
PRINT #1, CHR$(&H1B);"-";CHR$(0);
PRINT #1, CHR$(&H1B);"a";CHR$(2);
PRINT #1, CHR$(&H1B);"!";CHR$(1);
PRINT #1, "1996.4.10";
PRINT #1, CHR$(&H1D);CHR$(HC);
V$=INPUT$(1)
Ready to input (waiting to input)
RETURN
2-2 Application
Initializes the printer
Selects center print position
Selects character print mode
(emphasized + double-height + double-width)
Cancels double-width
Cancels emphasized
Selects printing position for HRI characters
Selects HRI characters
Sets bar code height
Sets underline width to 2 dots
";
Cancels previous character print mode
Selects right print position
Selects font B (9 x 24)
Prints and feeds the label print starting position
Prints message A
Prints bar code
Prints message B
Prints the date and
feeds the label to
the print starting
position
Rev. A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Esc/pos tm-l60iiEsc/pos tm-l60iip

Table of Contents