Intermec ck1 Reference Guide
Chapter 3 — Scanner Support
128
CK1 SDK Programmer’s Reference Manual
Setting Postamble String
Purpose: Send a postamble string to the keyboard buffer after the scanner data. The
default postamble string is NULL, and its maximum length is
48 characters. Use this function with tpt_ScanKey.
48 characters. Use this function with tpt_ScanKey.
Syntax:
int SetPostamble(char *PostStr);
Parameter: PostStr
Pointer of the postamble buffer to set
Return Value: -1 Failed to input the postamble string.
Getting Postamble String
Purpose: Get the current postamble string. Use this function with tpt_ScanKey.
Syntax:
SC_BOOL GetPostamble(char *PostStr);
Parameter: PostStr
Pointer of the postamble buffer to get
Return Values: SC_TRUE
Successfully got the postamble string
SC_FALSE
Failed to get the postamble string
Setting Delimiter String
Purpose: Append a delimiter string to the keyboard buffer behind the postamble.
The default delimiter string is NULL, and its maximum length is
ten characters. Use this function with tpt_ScanKey.
ten characters. Use this function with tpt_ScanKey.
Syntax:
int SetDelimiter(char *DelStr);
Parameter: DelStr
Pointer of the delimiter buffer to set
Return Value: -1 Failed to input the delimiter string
Getting Delimiter String
Purpose: Get the current delimiter string. Use this function with tpt_ScanKey.
Syntax:
SC_BOOL GetDelimiter(char *DelStr);
Parameter: DelStr
Pointer of the delimiter buffer to get
Return Values: SC_TRUE
Successfully got the delimiter string
SC_FALSE
Failed to get the delimiter string
Stopping Scanning
Purpose: Immediately stop the Scan button.
Syntax:
int StopScan();