Cmdtwain how to scan multiple pages into one pdf file?

Now in the registry on the button scan on the printer it costs to run the batch file:
set dir1=C:\TEST\ScanTo\
set strTime=_%Date%_%Time%
set strTime=%strTime::=-%
set strTime=%strTime:,=-%
set strTime=%strTime:/=-%
%SYSTEMDRIVE%
cd\
cd "Program Files"
cd CmdTwain

CmdTwain.exe /PAPER=A4 /RGB /DPI=300 /JPG75 "%dir1%\Scan_%strTime%.jpg"
::"%dir1%\Scan_%strTime%.jpg"
exit


I want to implement the version with pdf. But it was a choice on the printer whether to continue to scan into a single file.
Here I do not know how((
June 10th 19 at 15:29
0 answer

Find more questions by tags Batch processingcmd/bat