6-4 Program Descriptions
1. Introduction
The
The
2.Before printing
ÀConnect
ÁCheck that the
ÂCheck the
ÃConnect the
3.How to write program
3-1. Printing on the roll paper
NOTE: Omit step and if the drawer
ÀFor all programs, always first open device
100 OPEN “COMl: N81NN” AS #l
ÁInitialize the
110 PRINT #l, CHR$(27); “@“;
“PRINT #1", is the order that sends data and commands through the device. This device is opened in step À .
“CHR$ (27)” is the ESC code.
In order to execute ESC @ (Initialize the printer) send “@” following the ESC code. Always write “," at the end of the commands or BASIC will senda CR and LF code.
54