Image transfer port, File transfer protocol – MagTek MICRbase User Manual
Page 33
Section 5. Options For RS-232 Interface
compressed and will be significantly larger (e.g., a personal check using 8-bit Grayscale will
create a file size of approximately 640K).
Image Transfer Port
This parameter determines which port is used to transfer image files. The options are the RS232
host port, or the RS232 Auxiliary port, or Ethernet.
File Transfer Protocol
This parameter determines which file protocol is used to transfer image files via the RS232 Ports.
A description of the available options follows:
LENGTH + BINARY
In this protocol, the image file is transmitted as binary data. The length precedes the binary data
in the form of a word count (1 word = 2 bytes). If the first byte received is null, the count is
included in the next 3 bytes. If the first byte received is not null, the first and second bytes are the
count. The byte order of the length is always MSB…LSB.
XMODEM
In this protocol, the image file is transmitted in blocks of 128 bytes. The protocol includes error
detection information (CRC or checksum). All blocks must be acknowledged by the host, and if
an error is detected, the host will request the block again.
XMODEM-1K
In this protocol, the image file is transmitted in blocks of 1K bytes. The protocol includes error
detection information (CRC or checksum). All blocks must be acknowledged by the host, and if
an error is detected, the host will request the block again.
YMODEM/YMODEM-G
This is a double mode protocol and is used to send multiple files in batch mode. The host
instructs MICRImage whether to use YMODEM or YMODEM-G. In the YMODEM protocol,
the image file is sent in blocks of 1K bytes, and all blocks must be acknowledged by the host. In
the YMODEM-G protocol, the image files are also sent in blocks of 1K bytes, but the blocks are
not acknowledged by the host.
BINARY
In this protocol, the image file is transmitted as binary data but no length is provided. The IS
(Image Size) command can be used to query for the size of the image file.
25