Retrieve Scanned Image - IBM 4610-TM6 - SureMark Printer TM6 Two-color Thermal Transfer User Manual

Suremark printers
Hide thumbs Also See for 4610-TM6 - SureMark Printer TM6 Two-color Thermal Transfer:
Table of Contents

Advertisement

August 24, 2004

Retrieve scanned image

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RS-485 syntax:
X'1B;39;n1;n2;n3'
RS-232 syntax:
X'1B;39;n1;n2;n3'
where:
v n1, 2 bytes, Image location to retrieve
v n2, 4 bytes, Offset into image from which to retrieve data
v n3, 2 bytes, Number of bytes to retrieve
Remarks:
Image location (n1) of 0 returns the image last scanned. Offset (n2) and
size (n3) of 0 retrieve the header information for the specified image. When
n1 = 0, the header consists of the 12 data bytes and a null character for the
tag data. In this case, only the Compression, Size1, and Size2 fields
contain data. The header has the following format:
v Status; 1 byte
– Bit 7, Image read; 1 = image has been read, 0 = image has not been
read
– Bits 6 – 0; Reserved
v Compression; 1 byte
– Bits 7 – 3; Reserved
– Bits 2 – 0; Algorithm used to compress image. See "Select
compression format and scanned image threshold" on page 177
command
v Size1; 4 bytes
– Number of bytes in image, not including tag data.
v Size2; 4 bytes (x1, y1)
– Width of image in the x direction (in hundredths of inch increments), 2
bytes
Note: Scanner resolution is 200 dots per inch.
– Height of image in the y direction (in hundredths of inch increments),
2 bytes
v Block position; 1 byte
– Lower four bits indicate the number of blocks that were saved for the
image.
– Upper four bits represent the current block number.
v Future; 1 byte
– Reserved
v Tag data
– ASCII data supplied by the application, terminated by a null string.
Offset (n2) = X'FF FF FF FF' with size (n3) = X'FF FF'sets to 0 the Image
Read bit in the specified image header.
For stored images (n1>0), the image data format is the format that was
active when the image was stored.
Appendix C. RS-232 programming information
175

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti1Ti2Ti3Ti4Ti8Tg3 ... Show all

Table of Contents