7167 Owner’s Manual Chapter 6: Commands
November 2003
244
Transmit Scan Image from Working Buffer GS ( G pL pH fn m CropID [d1…dk],
k=1, …, 255
Command Description:
• Retrieve original scan data from working buffer (RAM)
• Crop, compress and make image file based on current settings and transmit it to the host
• If scan has not be executed on receiving this command, send error block
• If Bit6 of CropID is ON (CropID= 0x41 to 0x4A), This command transmits cropping area data
only.
ASCII GS ( G pL pH fn m CropID [d1…dk]
Hex 1D 28 47 pL pH fn m CropID [d1…dk]
Decimal 29 40 71 pL pH fn m CropID [d1…dk]
Range 2<(pL + pH x 256) <= 257
fn = 66
m=48: use original data in scan image buffer, crop according to the cropping area set by CropID,
compress and make image file based on current settings, then transmit file to host
CropID=0, transmit original (uncropped) image
CropID=1-10, transit image file with the n
th
cropping area, data outside the cropping area but
inside the scanarea will be transmitted as “white”.
CropID=0x41 – 0x4A, transmit image file with the n
th
(n=1 to 10) cropping area, but only data
that resides within the Crop Area is transmitted.
CropID>10 (except 0x41 to 0x4A), transmit image file with all the cropping area set, if no
cropping area is set, send the original scan image
When GS ( G Function 65 is not executed, only the file information block which consists of the
following information data, is transmitted. Information data in the file information block is as
follows.
Transmission Data Hexadecimal Decimal Amount of Data
Header 53H / 37H 83/55 1 byte
Identifier 20H / 74H 32/116 1 byte
Identification status 42H : last Blk 66 1 byte
Block Code 46H 70 1 byte
Fixed value 31H 49 1 byte
Separator 1FH 31 1 byte
Scanning status 70H 112 1 byte
Detailed information 41H 65 1 byte
Separator 1FH 31 1 byte
NUL 00H 0 1 byte
If scan has completed normally, Hogan will send image file to host, data strings have the same
format as that in “Execute Scan” command.
Notes:
• While transmitting block data, the printer does not process a real-time command or send ASB
status. Therefore it is not possible to determine the printer status while transmitting data.