Hi,
I bought a pdf2txtoctcmd. I need to generate an input PDF file to an output PDF file adding the page number so I did this command buy nothing occur.
pdf2txtocr.exe -ocr -ocrmode 1 -text "PageText %PageNumber% of %PageCount%" C:\sodimac\out\prueba.pdf C:\sodimac\out\out.pdf
out.pdf is the same file as prueba.pdf
Customer
-----------------------------------
Thanks for your message, "PageText %PageNumber% of %PageCount%" values will be inserted into OCRed text file only, they can't be inserted into OCRed PDF file.
If you wish include these values into OCRed PDF file, you may use our PDFStamp Command Line to stamp these values into PDF pages, PDFStamp Command Line can be downloaded from this web page,
https://www.verypdf.com/app/pdf-stamp/try-and-buy.html#buy-cmd
https://www.verypdf.com/pdfstamp/pdfstamp_cmd.zip
after you download it, you can run following command line to add "PageText %PageNumber% of %PageCount%" to PDF pages,
pdfstamp.exe -pdf D:\test.pdf -o D:\out.pdf -a "PageText \p of \c"
You may also look at more command line options from this web page,
https://www.verypdf.com/pdfstamp/pdfstamp_cmd/pdfstamp_manual_cmd.htm
VeryPDF