![](/images/new-backgrounds/1186820/186820159x1.webp)
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
Syntax
short far scnCloseScanner(void);
Parameters
None
Return Values
0Successful.
-1 The scanner was already disabled.