Function Reference 4-63
s c n G e t S c a n n e d D a t a
Description
Retrieves the scanner buffer’s contents as a null-terminated
string, placing them in a programmer-defined application buffer.
If the scanner buffer is empty, this function does not activate
the trigger to start a scan. This function works with each
scanner.
If there is any chance the scanned bar code
contains a binary zero, do not use this
function. Instead, use scnGetch and
scnScannerHit in a loop until the scan is
complete.
Use scnGets to retrieve the scanner buffer’s contents and
activate the scanner when the buffer is empty.
Syntax
short far scnGetScannedData(char far *lpszData);
Parameters
lpszData
A pointer to a programmer-defined application buffer
where the function places the scanner buffer’s contents.
This buffer must be one byte longer than the largest
string that you may scan.
Return Values
0
No data available.
-1
Checksum, time-out, or communications error.
-2
Decoding fault. The scanner scanned the bar code, but
the printer could not decode it.
-9
Scanner is disabled.
Summary of Contents for Gold 6037EX
Page 1: ... ROG TC6037EXPM Rev AA 8 03 Printed in the U S A 2003 Paxar Americas Inc All rights reserved ...
Page 2: ... Trademarks 0 1 2 0 0 3 4 5 6 7 78 ...
Page 10: ...viii Table of Contents ...
Page 30: ...2 16 Programmer s Manual ...
Page 36: ...3 6 Programmer s Manual ...
Page 154: ...4 118 Programmer s Manual ...
Page 228: ...14 Index ...
Page 229: ......
Page 230: ......