I'm using AHK to handle NAPS2.console.exe.
The aim is to OCRize image PDF's into indexable text pdf's.
So here is the line used in my script :
NAPS2.Console.exe -i Scan.pdf -o ocr.pdf --ocrlang fra
Here i'm just expecting to import a pdf and export it OCRized...
What is happening is that my scanner runs and add a blank page to the end of the output pdf!
If i input a 2 pages pdf, the result is a 3 pages pdf.
This is not as painfull as it may seems but i would like to understand this behaviour. Specillay cause i don't met the problem when i use the GUI and the same profil
Last edit: seb 2020-11-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey people,
I'm using AHK to handle NAPS2.console.exe.
The aim is to OCRize image PDF's into indexable text pdf's.
So here is the line used in my script :
NAPS2.Console.exe -i Scan.pdf -o ocr.pdf --ocrlang fraHere i'm just expecting to import a pdf and export it OCRized...
What is happening is that my scanner runs and add a blank page to the end of the output pdf!
If i input a 2 pages pdf, the result is a 3 pages pdf.
This is not as painfull as it may seems but i would like to understand this behaviour. Specillay cause i don't met the problem when i use the GUI and the same profil
Last edit: seb 2020-11-23
The only workaround i found for this is to turn the scanner off. Therefore, no blank page is added to the pdf and the process is way faster.