22.5.3 Procedure for Creating Scripts

Scripts that you create are processed in the following order. For details, refer to 22.5.3.1 Flowchart.

1. Main Function

When the Printer Start Button turns ON, the script decides whether or not to start printing.

2. INIT (User Defined Function)

Configure the Send Buffer, Receive Buffer, and Error initialization.

3. PINIT (User Defined Function)

Initializes the printer.

4. Strset (User Defined Function)

Change the data format in order to send print data to the printer.

5. Print (User Defined Function)

To allow for continuous printer output, append a "line feed", and send print data to the printer.