How to add or stamp page numbers to the OCR generated PDF file by PDF to Text Converter Command Line application?

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
-----------------------------------

image
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

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!