VeryPDF PDF Text Replacer Command Line can be used to in image PDF by force stamp or overlay a new layer to PDF. This function is good when you need to handle the fonts and text which can be replaced successfully by the GUI version of the PDF Text Replacer. In the following part, I will show you how to use this function.
- The command line version only can work under Windows system. It is different version with the GUI version.
- When downloading finishes, there will be an zip file in the downloading folder. Please unzip file then you can call the executable file in MS Dos Windows.
Step 2. Replace Text in image PDF by Overlay Function
- When you use this software, please refer to the usage and example.
Usage: pdfprint.exe [options] [Options] <PDF Files>
- When handling image PDF, please refer to the following command line templates.
- pdftr.exe -searchandoverlaytext “PDFcamp Printer=>VeryPDF Printer” -overlaytextfontname “Verdana” overlaytextfontsize 80%% -overlaytextcolor FF0000 -overlaybgcolor 00FF00 verypdf.pdf _textoverlay_PDFcampPrinter_VeryPDFPrinter.pdf
By the above command line, you can of PDFcamp Printer to text of VeryPDF Printer. Meanwhile, you can specify the font style , font size, font color and others.
Please check the related parameters:
-searchandoverlaytext <string>: when you need to search and overlay text to PDF pages, please add this parameter.
-overlaytextfontname <string> : when you need to set overlay text fontname, default is 'Arial', please add this parameter.
-overlaytextfontsize <string> : when you need to set overlay text font size, default is 0 for auto, please add this parameter.
-overlaytextcolor <string> : this parameter can help you set overlay text color, in Hex, default is 000000, please add this parameter.
-overlaybgcolor <string> :this parameter can help you set overlay text background color, in Hex, default is FFFFFF
- There is another situation, you many need this function. When you in text based PDF file, but you can replace the text successfully. Say there are some fonts can be shown successfully in the replaced PDF file, or some wild character will go to messy code. Then you can use this parameter and this function. The reason for this problem is that there many some fonts can be recognized successfully by the system.
There are more functions of this software, I can not list all of them here. If you need to know more, please check them on the website or readme.txt. During the using, if you have any question, please contact us as soon as possible.