Font problem with replacing the text in PDF file. How to find and replace text in an existing PDF file with pdftr.exe software?

Hello,

I am testing your tool with our pdf.
The tool finds the text but the output is wrong.

Is there a way how i can send you a sample and you can tell me where the problem is.

Customer
------------------------------
Find and Replace all in a PDF File.

Hi Experts,

Is there a way to Find and Replace a particular Text / Phrase in an unprotected PDF Document while keeping everything else intact and save the file in PDF? Also is it possible to perform Wild Card Character like search in any such document?

Regards
Customer
------------------------------
I have a 33 page pdf which has 2500 instances of the word "XYZ". I want to replace all XYZ with ABC. How can I do that?

Customer
------------------------------
Thanks for your message, we suggest you may use VeryPDF PDF Text Replacer Command Line to instead of VeryPDF PDF Text Replacer GUI version to try again, you may download VeryPDF PDF Text Replacer Command Line from this web page to try,

https://www.verypdf.com/app/pdf-text-replacer/search-and-replace-pdf-text-command-line.html

https://www.verypdf.com/dl2.php/pdftextreplacer_cmd.zip

after you download and unzip it to a folder, you may run following command line to replace text in your PDF file,

pdftr.exe -searchandoverlaytext "WUNSCHNAME=>VeryPDF" -overlaybgcolor FF7991 -overlaytextcolor FFFFFF -overlaytextfontname "Calibri" D:\downloads\BP_009.pdf D:\downloads\BP_009-out.pdf

You can change the font name, text color and background color by yourself in above command line.

Please refer to following screenshots for text replacing in PDF file,

image

You can also run following command lines to batch replace all text contents in all of your PDF files in a folder and it's sub-directories recursively,

for %F in (D:\temp\*.pdf) do pdftr.exe -contentreplace "My Name=>Your Name" "%F" "out_%~nF.pdf"

for %F in (D:\temp\*.pdf) do pdftr.exe -searchandoverlaytext "My Name=>Your Name" "%F" "C:\test\%~nF.pdf"

for /r D:\temp %F in (*.pdf) do pdftr.exe -oldtext "Old Text" -newtext "New Text" "%F" "C:\test\%~nF.pdf"

for /r Folder1 %F in (*.pdf) do pdftr.exe -nopdf -$ "XXXX-XXXX-XXXX-XXXX" -searchandoverlaytext "My Name=>Alan Grant||Mailed=>Nailed" -overlaytextfontsize 10 "%F" "Folder2\%~nF_Out_Unmerged.pdf"

VeryPDF

School See Also:

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!