4-50 Programmer’s Manual
s c n G e t c h e
Description
Retrieves a character from the scanner buffer and echoes it to
the display. If the scanner buffer is empty, this function
activates the scanner to let the operator scan another bar code.
This function works with each scanner.
This function tracks the characters in the bar code internally.
For example, after a scan, a call to scnGetche reads the first
character. Subsequent calls to scnGetche read the subsequent
characters in the bar code. For example, the second call reads
the second character, the third call reads the third character,
etc.
Use scnGetch to retrieve characters without echoing them to
the display.
Syntax
short far scnGetche(void);
Parameters
None
Return Values
0-255
The retrieved character.
-2
Decoding fault. The scanner scanned the bar code, but the
printer could not decode it.
-4
Checksum
error.
-9
Scanner is disabled.
-10
Time-out
error.
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: ......