51
Output Buffer
The scanner scans a bar code and outputs the scanned data using one of the following methods
described in the table.
Table 2.40
Output Method Description
OBR buffer output
(see note)
- Scanned data is output to memory in the Laser Scanner driver.
- Scanned data already output to the memory can be captured using the
Laser Scanner Library.
Key message output - Scanned data can be output with the window message to the specified
window handle.
- The window handle is specified using the Laser Scanner Library.
Clipboard output - Scanned result is copied to the clipboard and then output to the edit
control focused by caret.
Keyboard output - Scanned result is output as a keyboard event to the edit control focused
by caret.
Note:
When a bar code is scanned, its decoded data including the symbology and data size are stored in
the memory of the Laser Scanner driver. This output method has the following features.
• Capture the bar code symbology and data size.
• Capture the data at any timing the user prefers.
• The length of one piece of data is up to 98 characters (maximum) and up to 9 labels can be
stored in the memory. If any new data scanned after exceeding over 9 labels stored already in
the memory will be disregarded.
The functions of the Laser Scanner Library relevant to the Output Buffer are as follows.
OBROpen
: Sets up scanning enable status.
OBRSetBuffType
: Sets up decoding data output mode.
OBRGetBuffType
: Retrieves decoding data output mode.
OBRGetc
: Retrieves one character from OBR buffer.
OBRGets
: Retrieves character string for one bar code from decoding data storage buffer.
OBRGetStatus
: Retrieves OBR buffer status.
OBRClearBuff
: Clears OBR buffer.