Disabling Trigger; Checking Bar Code Input; Reading Bar Code Data; Setting Bar Code Symbology Into Decoder Chip - Intermec CK1 Programmer's Reference Manual

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

Advertisement

Chapter 3 — Scanner Support

Disabling Trigger

Purpose: Disable the trigger key.
Syntax:
Return Value: NONE

Checking Bar Code Input

Purpose: Check if there is a bar code read from the decoder chip. This function is
Syntax:
Return Values: TRUE (non zero)

Reading Bar Code Data

Purpose: Get input bar code data from the controlling program. Only use this
Syntax:
Parameters: getbuf
Return Values: SC_TRUEL

Setting Bar Code Symbology Into Decoder Chip

Purpose: Set the individual bar code symbology.
Syntax:
Parameters: type
Return Values: SC_TRUE Successfully set the bar code parameter
126
void DisableBarcode();
only called in tpt_Scanner.
int CheckBracode();
Have bar code
FALSE (zero)
Does not have bar code
function with tpt_Scanner.
SC_BOOL GetBar code(char *getbuf, char *cType);
Pointer of the buffer to store bar code
cType
Pointer of the bar code type. For help, see the "Bar Code Type
Number Returned From the Hamster Chip" table on page
112.
Successfully got the bar code
SC_FALSE
There is no bar code available
SC_BOOL SetBar codePara(char type, int *status);
Bar code type. For help, see the "Bar Code Setting Type Code
for the Hamster Chip" table on page 114.
status
Pointer of new status
SC_FALSE Failed to set the bar code parameter
CK1 SDK Programmer's Reference Manual

Advertisement

Table of Contents
loading

Table of Contents