C O N F I D E N T I A L
Programming 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, "Jan. 10, 1998";
PRINT #1, CHR$(&H1D);CHR$(HC);
←
W$=INPUT$(1)
RETURN
Paper roll
Usable application programs and tips
←
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 to the print starting
position
Ready to input (waiting to input)
Prints a
label title
Prints bar code
Prints "NAME"
Prints the date
and feeds the
label to the
print starting
position
Ver. 4.0
p. 966
more
more