Obr Library - Casio IT-2000W Technical Reference Manual

Casio pda technical reference manual
Table of Contents

Advertisement

8.6.4 OBR Library

Overview
The OBR library is used to control the OBRs (Barcode Reader) from application programs
developed by the user with the C language or Visual BASIC. It supports the following two OBRs :
DT-9650BCR : Pen-type barcode reader
DT-9656BCR : CCD barcode reader
Note about the Libraries
This library consists of the following three files. Any application program that uses this library
should include obrlib.h in the corresponding source file. Constants that are passed to the library
functions and their prototypes are defined in the following header files.
OBRLIB.H
LIBOBR.LIB
OBRLIB.DLL
OBRLIB.DLL is downloaded to the same directory of an application program or to the directory
of Windows when it is used. The type of OBR to use is specified as parameter when OBR_Open is
called.
No.
216
217
218
219
220
221
222
OBR_SetUserEvent
The OBRLIB.DLL uses the system library (SysCall.DLL) to turn on and off the power supply of the
COM port. To use this library, an environment which allows the use of SysCall.DLL must be
available.
Header file for the OBR library
Library to call OBRLIB.DLL from C language.
OBR library
Function
OBR_Open
Initialization of COM port and power on
OBR_Close
Release of COM port and power off
OBR_Send
Transmission of command to OBR
OBR_Stat
Acknowledgment of received data
OBR_Read
Read of the received data
OBR_Clear
Invalidation of codes in reception buffer
Event definition issued when reception is completed.
Description
213

Advertisement

Table of Contents
loading

Table of Contents