IBM TF6 Printer User Manual


 
should not be included. These parameters are defined in MCT locations
X'0xB0' through X'0xBF' and can be viewed or adjusted using the MCT
Read and MCT Write commands. If fewer than four blocks are required, a
block can be disabled by storing a value of X'FFFF' for a coordinate MCT
location. The block is then ignored.
When n1 = 2, a predefined template, based on a business check is used to
store the image. The area defined is the entire business check, however
only the name/address, and MICR blocks are saved. The command
parameters, x0, x1, x2, x3, y0, y1, y2, y3, dx0, dx1, dx2, dx3, and dy0, dy1,
dy2, dy3 should not be included. These parameters are defined in MCT
locations X'0xC0' through X'0xCF' and can be viewed or adjusted using the
MCT Read and MCT Write commands. If fewer than four blocks are
required, a block can be disabled by storing a value of X'FFFF' to a
coordinate MCT location. The block is then ignored.
When n1 = 3, this method allows the user to define subblocks of data to
store. All command parameters must be sent. If fewer than four blocks of
data are to be saved, the value of X'FFFF' must be sent for unused
parameters. The top-left corner of the scanned document is used as the
point of reference. All xn, dxn, yn, and dyn values are based on 0.01 inch.
The xn command parameters are horizontal offsets from the left side of the
scanned document. The yn parameters are vertical offsets from the top of
the scanned document. The dxn and dyn parameters define the width and
height, respectively, of the defined area or block.
When n1=0x11, this command allows the user to obtain a partially scanned
image without having to spend time storing it into Flash. Since the
command does not destroy the original scanned image, successive
commands using n1 of 0x11 is possible. Executing this command will
compress a partial image of the check using the user defined values
defined in x0, y0, dx0, dx1. The new image will be stored in RAM location
0. Though the command does not technically store the image into flash,
upon compressing the partial image check, Bit 7 of Status byte 3 will be set
to true to comply with the existing Store Scanned Image commands.
The printer attempts to determine the width and height of the document,
and returns the value when the document is scanned. If the value of xn
plus dxn is greater than the total width scanned by the printer, the printer
uses the data detected up to the maximum scan width. If the value of yn
plus dyn is greater than the length of the document, the printer uses blank
(white) data to fill the area to the lesser of the yn+dyn value, or maximum
document length allowed.
If yn or xn is greater than the maximum allowed, the command is rejected.
If x1 and y2 extend the printer area beyond the boundaries of the image,
the values are truncated to the image boundary.
Errors:
Status byte 3 is set:
v When the image to be stored is larger than the remaining unused
memory for the image boundary.
v If an error occurs during the flash write (hardware error).
Example 1:
Method 0: X'1B 41 00 00 19 00 32 01 13 02 26 30 33 2F 30 34 2F 30 32
20 30 30 31 2E 33 34 00'
Updated April 2, 2009
Appendix D. EIA-232 programming information 171