Epson TM-T80/T80P Printer User Manual


 
Selecting international character codes
280 PRINT #1, CHR$(91);CHR$(92);CHR$(93);CHR$(94);CHR$(l0);
290 PRINT #1, CHR$(27); "R" ;CHR$(1);
300 PRINT #1, CHR$(91);CHR$(92);CHR$(93);CHR$(94);CHR$(l0);
280 prints 4 U. S. A characters. (default)
300 prints 4 French characters.
Refer to ESC R n
Resetting Printer functions
310 PRINT #1, CHR$(27); "@";
Initialize printer again.
Printing bar codes
320 PRINT #1, CHR$(29); "H" ;CHR$(2);
330 PRINT #1, CHR$(27);"$";CHR$(40);CHR$(O);
340 PRINT #1, CHR$(29);"k";CHR$(2);"012345678901";CHR$(0);
In order to print the bar code, you must send the GS code.
(Refer to Appendix E, GS code.)
“CHR$ (29)” is the GS code.
320 prints HRI (Human Readable Interpretation) as bar codes.
Refer to GS H n
330 sets the print starting position to the specified number of dots
( 40 ) . Refer to ESC $ n1 n2.
340 prints the bar code ;
“k” executes printing. (Refer to GS k n [d]k
NUL.) "CHR$ (2)” selects the JAN 13 Bar code system.
The 12 characters, “012345678901” are print data.
A check-digit is added by the printer because 12 characters are sent,
and “012345678901” is printed.
“CHR$ (0)” must always be used as the last command
(representing end of data).
-55-