beautypg.com

Paxar Gold 6037EX User Manual

Page 80

background image

4-44 Programmer’s Manual

s c n C l o s e S c a n n e r

Description

Disables the scanner. Be sure to disable the scanner only
when it is already enabled.

If the application enabled the scanner with scnOpenScanner,

♦ the application should disable the scanner at the end of

processing or immediately before any serial communications.

♦ this function sets the serial communications port back to

external RS-232 connection mode. It also restores the serial
port configuration settings (baud rate, parity, data bits, and
stop bits) saved when the application enabled the scanner.

Syntax

short far scnCloseScanner(void);

Parameters

None

Return Values

0 Successful.

-1

The scanner was already disabled.