12.07.2015 Views

KS810-P User Manual Guide - KeyScan

KS810-P User Manual Guide - KeyScan

KS810-P User Manual Guide - KeyScan

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

. If the "InputFilePath" entryis empty, get the defaultfile name of the OutDev definition.OutFile - See InFile.If InMethod / OutMethod / InFile / OutFile are not defined (or some ofthem) attempt to locate the relevant information in the relative DDEentry in the SgApps.ini, if the entry does not exist there get defaultvalues as defined by OutDev definitions, the default for InMethod andOutMethod is "File". For more information see 9.5. Command lines Examples-Example 1:CommandLine1="c:\sg.exe /<strong>User</strong>Type=F11 /OutFile=c:\temp\ttt.bmp , BMP /Res=300,300 /Filter= BW() "Example 2:CommandLine2="c:\sg.exe /<strong>User</strong>Type=F11 /OutFile=c:\temp\ttt.jpg , JPG, 180 /Res=150,150 /Filter= Flip() Rev()"9.6. Shell Activation by third party applications-9.6.1. Activation using the operating system UI-Under Windows 2000 and XP the user can issue directly a command line using command, care should be taken regarding the O.S. “RUN”command buffer length.9.6.2. Activation using C++ application-SHELL command interface under C/CPP:---------------------- start of sample code -----------------------SHELLEXECUTEINFO execInfo;BOOL bSuccess;execInfo.cbSize = sizeof(execInfo);execInfo.fMask = SEE_MASK_NOCLOSEPROCESS |SEE_MASK_FLAG_DDEWAIT;execInfo.hwnd = AfxGetMainWnd()->m_hWnd;execInfo.lpVerb = NULL;execInfo.lpFile = "G:\\<strong>KeyScan</strong>Imaging\\sg.exe";execInfo.lpParameters = "/<strong>User</strong>Type=F11 /InFile=Scanner /OutFile=c:\\temp\\DO1.jpg ";execInfo.lpDirectory = NULL;execInfo.nShow = SW_SHOWNORMAL;execInfo.hInstApp = 0;execInfo.lpIDList = NULL;execInfo.lpClass = NULL;execInfo.hkeyClass = 0;execInfo.dwHotKey = 0;execInfo.hIcon = 0;execInfo.hProcess = 0;bSuccess = ::ShellExecuteEx( &execInfo );

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!