PT-20 Programming Guide
26
Description
:
This function can send command to set scanner status.
You can see “
Appendix 2
” to know about the command setting.
Returns
:
0:Send fail.
1:Send OK.
Scan_QueryStatus
Purpose
:
Query the scanner(CCD) current setting.
Syntax
:
BOOL SCAN_QueryStatus(int Command1,int Command2,char
*pReturn);
Example call
:
char ssReturn = 0;
if(SCAN_QueryStatus (6,7, &ssReturn))
_printf_color(COLOR_
RED, “Query OK!”);
Includes
:
#include
“SDK.h ”
Description
:
This function can query scanner setting.
You can see “
Appendix 1
” to know about the command setting.
Returns
:
0:Query fail.
1: Query OK.
Scan_QueryStatus_Laser
Purpose
:
Query the scanner(Laser) current setting.
Syntax
:
BOOL SCAN_QueryStatus_Laser (int Command1,int Command2,char
*pReturn);
Example call
:
char ssReturn = 0;
if(SCAN_QueryStatus_Laser (6,7, &ssReturn))
_printf_color(COLOR_RED, “Query OK!”);
Includes
:
#include “SDK.h ”
Description
:
This function can query scanner setting.
You can see “Appendix 2” to know about the command setting.
Returns
:
0:Query fail.
1: Query OK.
ScannerSetFromFile
Purpose
:
Set scanner setting by scanner setting file. This file is made by utility
“ScanSetting”.
Syntax
:
BOOL ScannerSetFromFile(char *pssFilePath);
Example call
:
If(ScannerSetFromFile (“C:\\data\\scan.axs”))
_printf_color(COLOR_
RED, “Setting OK!”);
Includes
:
#include “SDK.h ”
Description
:
You can set scanner from “scanner setting file” by this function. This
function can help you set scanner setting easier.
Returns
:
0:Load fail.