Allows you to control a scanner and save the scanned document in different formats.
The name of the scanner must be the one returned by the LISTSCAN command.
Syntax
CHGVAR |
VAR(&CMD) VALUE('SCAN') |
CHGVAR |
VAR(&PARM1)
VALUE(' ;Dest="Complete
path of the scanned document" |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
Parameters
Parameters |
|
Parm1 |
Scanner : Scanner name. Use the LISTSCAN command to see the scanner name to use.
Type: Format in which the scanned document will be saved. The
different possible formats are :
Dest: Complete path of the scanned file.
|
Example
LNCCMD CMD(SCAN) PARM1('Scanner="HP LJ100 M175 +
Scan";Dest="C:\temp\scanB.gif";Type="gif"')
LNCCMD CMD(SCAN) PARM1('Scanner="HP LJ100 M175 +
Scan";Dest="C:\temp\scanC.pdf";Type="pdf"')