
4-60 Programmer’s Manual
s c n G e t s
Description
Initiates a scan and moves the scanner buffer’s contents to a
programmer-defined application buffer as a null-terminated
string. If the scanner buffer is empty, this function activates the
scanner to let the operator scan a bar code. 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 scnGetScannedData to retrieve the scanner buffer’s
contents without activating the scanner when the buffer is
empty.
Syntax
char far * far scnGets(char far *lpszData);
Parameters
lpszData
A pointer to a programmer-defined application
buffer where the function copies the scanner
buffer’s contents. This buffer must be one byte
longer than the largest string that you may scan.
Return Values
A pointer to the
buffer parameter
Successful.
NULL pointer
An error occurred.
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: ......