Program Example - Epson U375P - TM B/W Dot-matrix Printer Information Manual

Esc/pos
Hide thumbs Also See for U375P - TM B/W Dot-matrix Printer:
Table of Contents

Advertisement

Program Example

PRINT #1, CHR$(&H1B);"=";CHR$(3);
PRINT #1, CHR$(&H1B);"@";
PRINT #1, CHR$(&H1B);"t";CHR$(1);
PRINT #1, CHR$(&H1B);"=";CHR$(1);
PRINT #1, CHR$(&H1D);"*";CHR$(40);CHR$(6)
FOR I=1 TO 1920
READ a$: PRINT #1, CHR$(VAL("&H"+a$));
NEXT I
GOSUB stamp
PRINT #1, CHR$(&H1B);"=";CHR$(2);
PRINT #1, CHR$(&HC);
PRINT #1, CHR$(229);CHR$(230);CHR$(229);"
PRINT #1, CHR$(229);CHR$(230);CHR$(229);
PRINT #1, CHR$(&H1F);"T";CHR$(10);CHR$(30);
W$=INPUT$(1)
PRINT #1, CHR$(&HC);
PRINT #1, CHR$(&H1B);"=";CHR$(1);
PRINT #1, "MARCH 1, 1996, 10:30";
PRINT #1, CHR$(&H1B);"d";CHR$(3);
PRINT #1, CHR$(&H1B);"a";CHR$(0);
PRINT #1, CHR$(&H1B);"!";CHR$(1);
PRINT #1, CHR$(&H1B);"=";CHR$(3);
PRINT #1, "TM-U375
W$=INPUT$(1)
PRINT #1, "PS-150
W$=INPUT$(1)
PRINT #1, CHR$(&H1B);"=";CHR$(1);
PRINT #1, CHR$(&HA);
PRINT #1, CHR$(&H1B);"!";CHR$(17);
PRINT #1, CHR$(&H1B);"=";CHR$(3);
PRINT #1, "TOTAL
Rev. A
TM–U375/U375P Information Manual
Selects peripheral devices (printer and customer display)
Initializes the devices
Selects the character code table (page 1)
Selects peripheral device (printer)
Prints stamp data
Selects peripheral device (customer display)
Clears customer display screen
WELCOME
";
Sets and displays a counter (time)
Waits for input
Clears customer display screen
Selects peripheral device (printer)
Selects print position (left justification)
Selects peripheral devices (printer and customer display)
96.0"; CHR$(&HA); CHR$(&HB);
Waits for input
15.0"; CHR$(&HA); CHR$(&HB);
Waits for input
Selects peripheral device (printer)
Selects peripheral devices (printer and customer display)
111.0"; CHR$(&HA)
Defines user-
defined bit
image
Displays a
message
Prints date
and time
Prints and
displays
item A
Application 2-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-u375

Table of Contents