Introducing Scanner Support; General Functions; Opening; Closing - Intermec CK1 Programmer's Reference Manual

Intermec ck1: reference guide
Hide thumbs Also See for CK1:
Table of Contents

Advertisement

Chapter 3 — Scanner Support

Introducing Scanner Support

General Functions

Opening

Purpose: To use the other functions, the application should open the connection to
Syntax:
Return Values: -1

Closing

Purpose: After using the bar code scanner or setting the parameter, the application
Syntax:
Return Values: Function does not return any value

Getting Bar Code Type Name

Purpose: Translate the type number to a string. The GetBarcodeTypeName returns
110
The system links the bar code scanner by the Hamster chip. Call the
function ScOpen() to start linking before using scanner function and call
the function ScClose() to stop linking after using the scanner function.
There are two libraries set for the scanner function:
1 Get scanner input by user's API (named tpt_Scanner).
2 Direct re-direct scanner input to standard keyboard input (named
tpt_ScanKey).
There are some functions that are not the member functions of the next
sections:
• Open
• Close
• GetBarcodeTypeName
the daemon first.
int ScOpen();
Function failed
>0 Handle connect to the control program
closes the connection. An ScOpen needs to be called again after the
connection is closed.
void ScClose();
a longer string for the type, where the GetBarcodeShortTypeName returns
a shorter name.
CK1 SDK Programmer's Reference Manual

Advertisement

Table of Contents
loading

Table of Contents