(→Issuing Menu Commands over a COM port)
|
(→Issuing Menu Commands over a COM port)
|
Line 31: | |||
If you would like to output settings using software other than Appload, then observe the proper RS232 settings for the scanner you are trying to communicate with. For each Menu Command you want to output, start with the ASCII <Escape> character, followed by the ASCII <Carriage Return> character. | If you would like to output settings using software other than Appload, then observe the proper RS232 settings for the scanner you are trying to communicate with. For each Menu Command you want to output, start with the ASCII <Escape> character, followed by the ASCII <Carriage Return> character. | ||
+ | Details: | ||
+ | Settings can be configured by sending commands via the serial interface. The default command format is shown below: | ||
+ | (1) Command Format | ||
+ | Command Header Command ID *1 Command Terminator | ||
+ | ESC (1BH) | ||
+ | or | ||
+ | STX (02H) 1 ~ 2 digits (ASCII) CR (ODH) | ||
+ | or | ||
+ | ETX (03H) | ||
+ | [(5BH) 3 digits (ASCII) | ||
+ | ](5DH) 4 digits (ASCII) | ||
+ | *1: It is possible to send multiple command IDs between a single header and terminator, except for a single command (1-digit) IDs. | ||
+ | Input examples: | ||
+ | 1-digit command : <Esc>?<CR>? | ||
+ | 2-digit command : <Esc>??<CR>? | ||
+ | 3-digit command : <Esc>[???<CR>? | ||
+ | 4-digit command : <Esc>]????<CR> | ||
+ | 2 and 3 digits command : <Esc>??[???<CR> | ||
+ | (2) Command Usage Precautions | ||
+ | ? When sending multiple commands in a sequence, the subsequent command is not received while the previous command is still being executed. Since the RTS output will be in busy state while a command is executed when the Handshake is set to BUSY/READY or MODEM, it is recommended to refer to this signal for the right timing. | ||
+ | ? Any settings configured by commands are not retained in the nonvolatile memory. Therefore, these will be lost when the scan engine power is turned off. When the power comes back on, the scan engine will be in the configuration state saved in the nonvolatile memory. In order to save the settings with commands, send “Z2” to save all the parameters in nonvolatile memory. | ||
+ | ? Command changes to the following communication port settings only become active after they are saved by the Z2 command. | ||
+ | - Baud rate, Data length, Parity and Stop bit | ||
+ | NOTE: Settings made by reading 1D or 2D menu labels (see 2.1. and 2.2.) will be saved in non-volatile memory. Any settings made prior via commands will be saved as well. | ||
+ | |||
== Download Fonts == | == Download Fonts == |