| PrinterUtility_EN 1.1.18

Download

> The main function of this section is to choose to download the file to the printer for firmware upgrade.

The download upgrade includes the following three functions: interface version and no interface version download upgrade; select file; download file to printer.

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.

#### Interface version

- Select the file

  - The format of the supported files:
    1. Firmware file (*.JK)
    2. Eeprom file (*.EEP)
    3. Character file (*.ZK)
    4. Font file (*.FNT)

- Upgrade JK files

  - Send the file after selecting the JK file.
  - Displays the current printer firmware version number.
  - Wait for the printer to reconnect after the file is successfully sent.
  - The upgraded printer firmware version number is displayed.

- Upgrade EEP files

  - Send the file after selecting the EEP file.
  - After the file is successfully sent, wait for the printer EEP to take effect and restart the printer.

- Upgrade ZK files and FNT files

  - Send the file after selecting the file.
  - Automatically reconnect the printer.
- Reselect the file.
- No other operations can be performed during the download upgrade process, waiting for the printer upgrade to complete. Note: All the above illustrations are under USB communication. The process of different communication port display is different according to the process shown in the program.

  #### No interface version

- Call silent download upgrade
  - Windows
    - Open the CMD command window
    - Go to the directory where PrinterUtility.exe is located.
    - Enter PrinterUtility.exe + space + parameters (parameters are detailed below)
  - Linux
    - Open a terminal window
    - Go to the directory where PrinterUtility is located.
    - Enter sudo ./PrinterUtility + space + parameters (parameters are detailed below)
  - Parameter Description: -pname + space + model name + space + -port + space + port type + space + -para + space + port parameter + space + -file + upgrade file path
    1. Serial port parameter
       - The port type is 0
       - Port Parameters Serial Port Name + Comma + Baud Rate + Comma + Data Bit + Comma + Stop Bit + Comma + Check Digit + Comma + Flow Control (among them Parity: 0 represents None, 1 represents Odd, 2 represents Even , 3 represents Mark, 4 represents Space; Flow Control: 0 represents DTR / DSR, 1 represents RTS / CTS, 2 represents Xon / Xoff, 3 represents None) Note: Windows: StopBits 0 represents 1， 1 represents 1.5，2 represents 2;Linux: 0 represents 1，1 represents 2。 Example: Windows The port parameter is COM3, 9600, 8, 0, 0, 0 means that the serial port name of the host is COM3, the baud rate of the printer is 9600, the data bit is 8, the stop bit is 1, and the Parity is no parity. Control is DTR/DSR Linux The port parameter is /dev/ttyS1, 9600, 8, 0, 0, 0 means that the serial port name of the host is /dev/ttyS1, the baud rate of the printer is 9600, the data bit is 8, the stop bit is 1, and the Parity is no parity. Control is DTR/DSR
    2. USB parameters
       - The port type is 1
       - Port parameter API mode is printer ID number + comma + 0 class mode is printer name + comma + 1 Example: BK-T680 printer API mode port parameter is 608,0 Note: The class mode print name and API mode printer ID number are enumerated by the interface version USB communication method, or provided by the manufacturer.
    3. Network port / WIFI parameters
       - The port type is 2
       - Port Parameters Printer IP Address + Comma + Printer Print Port Number
    4. Parallel port parameter
       - The port type is 3
       - Port parameterHost parallel port name Example: Windows The port parameter is LP1, which indicates the host's parallel port name LP1. Linux The port parameter is /dev/parport1, indicating that the host's parallel port name is /dev/parport1
    5. Drive parameter
       - The port type is 4
       - Port parameters Host installation driver name (Windows only)
  - Return Value: 0-Success 1-Invalid Parameter 2-Connect printer failed 3-Open file failed 4-Read file failed 5-Download file failed
  - Silent download example The printer is BK-T680 communication mode is serial port
    1. Windows
       - Enter the CDM command window and enter it in the directory where PrinterUtility.exe is located. (The specific communication port parameters and file path are subject to the actual environment.) PrinterUtility.exe -pname BK-T680 -port 0 -para COM4,38400,8,0,0,0 -file F:\BK-T680_FV1170_HV12_MAIN_T09.JK
    2. Linux
       - Enter the terminal command window and enter it in the directory where PrinterUtility is located. (The specific communication port parameters and file path are subject to the actual environment.) sudo ./PrinterUtility -pname BK-T680 -port 0 -para /dev/ttyUSB0,38400,8,0,0,0 -file /root/Desktop/BK-T680_FV1170_HV12_MAIN_T09.JK
  - Precautions: 1.If there are spaces in the parameters, please enclose the parameters with double quotation marks. All symbols in the parameters are English symbols. Use double slashes or backslashes in the file path. 2.The download result information is displayed in the PULog_Module.log log file in the folder where the program is located. Do not perform any operations on the printer when there is no result output in the log file during normal download. 3.The interface version program will open when the parameter input format is incorrect. 4.Other exception information results are also output to the log file.