Image Capture To The Host By Host Command - Datalogic Magellan 3450VSi Product Reference Manual

Omni-directional imaging scanner
Table of Contents

Advertisement

Imaging Features

Image Capture to the Host by Host Command

This feature is only available for RS-232 and USB COM interfaces.
The host command format is as follows:
P<cnt>pSBC
where:
- ASCII 'P' used as preamble of pass-through commands
P
<cnt>
- ASCII lowercase 'p' ; command to take a picture
p
- size value of image as ASCII character
S
- brightness value in ASCII
B
- contrast value in ASCII
C
IF the image is of a type the scanner supports, capture and transmission occurs,
and the command is of proper format
THEN
ELSE
ENDIF
Product Reference Guide
If the USB COM interface has been selected, follow the instruc-
tions in USB-COM Interface Setup on page 57 .
NOTE
- binary value of 4 indicating 4 bytes to follow
'S' == uses scanner's configuration value
'0'-VGA, (640X480)
'1'-WVGA, (752X480)
'2'-SXGA, (1280x1027)
'3'-CIF (320x240)
'B' == uses scanner's configuration value CI_IMAGE_BRIGHTNESS
else '0' thru'9' specifies brightness
'C' == uses scanner configuration value CI_IMAGE_CONTRAST
else '0' thru'9' specifies contrast
The scanner will transmit an ACK (0x06) to the Host in response to this
command.
The image data transmission starts with a 4 byte binary field representing
(Big Endian) number of bytes to follow.
If the "number of bytes to follow" value is zero, there was a problem with
generating the image and the request should be retried.
The scanner will transmit a BEL (0x07) to the Host in response to this com-
mand.
Enter/Exit Programming Mode
37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents