Paxar Gold 6037EX manual N G e t c h

Models: Gold 6037EX

1 230
Download 230 pages 30.9 Kb
Page 84
Image 84

s c n G e t c h

Description

Retrieves a character from the scanner buffer without echoing 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 scnGetch reads the first character. Subsequent calls to scnGetch 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 scnGetche to retrieve characters and echo them to the display.

Syntax

short far scnGetch(void);

Parameters

None

Return Values

0-255The 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.

4-48 Programmer’s Manual

Page 84
Image 84
Paxar Gold 6037EX manual N G e t c h