PT-20 Programming Guide
73
Syntax
:
void _scanf_ctrl_ScannerStatus(BOOL bStatus);
Example call
:
_scanf_ctrl_ScannerStatus(TRUE);
Includes
:
#include “SDK.h ”
Description
:
When
use “_scanf_color” function, this function can set scanner status.
TRUE : Scanner on.
FALSE : Scanner off.
Returns
:
none
_scanf_ctrl_ScannerSleep
Purpose
:
Set scanner sleep
on/off when use “_scanf_color” function.
Syntax
:
void _scanf_ctrl_ScannerSleep(BOOL bStatus);
Example call
:
_scanf_ctrl_ScannerSleep(TRUE);
Includes
:
#include “SDK.h ”
Description
:
After
use “_scanf_color” function, this function can set scanner status in
sleep mode or stop.
If use this function and set status
“TRUE”, when left “_scanf_color”
function, scanner will sleep, and when you use
“_scanf_color” function
next time, the scanner will not reinitial. That can make the
“_scanf_color”
function speed up.
TRUE : Scanner sleep.
FALSE : Scanner not sleep.
Returns
:
none
_scanf_ctrl_Vibrate
Purpose
:
Set vibrate on/off when use “_scanf_color” function and scanner status
on.
Syntax
:
void _scanf_ctrl_Vibrate(BOOL bEnable);
Example call
:
_scanf_ctrl_Vibrate(TRUE);//Enable vibrate
Includes
:
#include “SDK.h ”
Description
:
When use “_scanf_color” function, this function can set vibrate on/off after
scanner read.
TRUE : Vibrate on.
FALSE : Vibrate off.
Returns
:
none
_scanf_ctrl_ScanWithENT
Purpose
:
Set ENT auto press on/off when use “_scanf_color” function and scanner
status on.
Syntax
:
void _scanf_ctrl_ScanWithENT(BOOL bScanEnt);
Example call
:
_ scanf_ctrl_ScanWithENT (TRUE);