| PrinterUtility_EN 1.1.26

Command

> The main functions of this part are user instruction delivery, data reading, file printing and custom command buttons.

The user command interface is divided into four functions: input; receiving; printing;

Precautions:

1. Before operation, make sure that the port parameters are set correctly and connected to the printer, otherwise the operation is prohibited. Please refer to the "\ref page_1_PortSet" page for port settings.

- Input:

  - Open file: The user can click the Open File button and select Open Printer File (.PRN), Text File (.TXT) or any file to display in hexadecimal or non-hexadecimal to the left input box.
  - Save file: The user can click the Save File button to save the contents of the left input box as a printer file (.PRN) for local storage.
  - Send: The user enters the data in the input box on the left. If the command is printed, the corresponding action is performed according to the instruction. Otherwise, the data will be sent to the printer buffer.
  - Clear: Click the Clear button to clear all the contents in the input box on the left.
  - Send count: Check the send count option, the user clicks send, the right box of the send count calculates the number of bytes of the content of the left input box, and the number of bytes can be accumulated by multiple clicks. Click the "C" button to clear the send count.
  - Auto Send: The user enters a custom time interval in ms. Check the Auto Send option to send the contents of the input box at intervals of custom intervals. If the Send Count option is also checked, the number of bytes in the contents of the input box can be automatically counted.
  - Hexadecimal format: This option toggles whether the contents of the input box are displayed in hexadecimal. Check this option to format the contents of the input box to display in the specified format (AA BB CC...).

- Receive:

  - Display: 1）When the communication mode of the printer is serial port, click the display button, and the button will become the stop button. At this time, each time the command is sent, the received data is displayed in real time in the receiving box. Click the stop button again, the button will change to the display button. At this time, click the send command, and the receive box will not display the read data. 2）When the communication mode of the printer is not a serial port, clicking the display button will read the result of the last command sent from the printer.

  +Save file: The user can click the Save File button to save the contents of the left receiving box as a printer file (.PRN) and store it locally.

  - Clear: Click the Clear button to clear all the contents in the left receiving box.
  - Automatic reading: 1）When the communication mode of the printer is serial port, check the automatic reading. Click the send button to automatically change the display button to the stop button. Each time you click and send, the receiving box displays the reading result in real time. 2）When the communication mode of the printer is not serial port, check the automatic reading, the display button has no change, click the send button, and the receiving box displays the reading result in real time.
  - Read count: Check the read count option, the user clicks send, the number of bytes in the left receiving box is calculated in the box to the right of the read count, and the number of bytes can be accumulated by multiple clicks. Click the C button to clear the read count.
  - Hexadecimal format: This option toggles whether the contents of the receiving box are displayed in hexadecimal.

  Precautions: When the communication mode of the printer is not serial port, click the send button. If the sent command has data return, the receiving input box automatically displays the returned data without clicking the display button.

- Print:

  - Select file: The user clicks the Select File button to select any file that needs to be printed. The file path is displayed in the road display box below.
  - Print file: The user first sets the number of prints, clicks the print file button, the button becomes stop printing, when the print count is equal to the print quantity, the print is completed, and the button changes back to the print file button. If the number of prints set is greater than 1 copy, you need to set the print interval time, in ms, click the print file button, the button will stop printing, the printer prints the file according to the set print interval time, when the print count is equal to the print quantity, the print is completed. , the button changes back to the print file button. Click the C button to clear the read count.

- Command:

  - Feed Paper: Click the "Feed Paper" button and the printer takes a line.
  - Cut Paper: Click the "Cut Paper" button and the printer cuts the paper.
  - Print self-test page: Click the "Print self-test" button and the printer prints a self-test page.
  - Add Button +：

  1）Click the "Add Button +" button to pop up the user-defined button edit box. The user can enter a custom button name, command, and click OK to create a new custom button. Click the newly added custom button with the left mouse button to release the custom command that matches the button.

  2）Right click on the new custom button to display the Edit and Delete menus. Click the Modify menu to pop up the Modify Custom Button interface to modify the custom button name and command;

  3）Click the delete menu to remove the button.

    __Precautions:__
    Support for adding new custom buttons up to 6