How to replace text in image PDF by command line?

VeryPDF PDF Text Replacer Command Line can be used to replace text 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.

Step 1. Download PDF Text Replacer Command Line

  • 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 replace text 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 replace text 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.

 

     

     

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Text Replacer | Tagged | Leave a comment

How to replace text in rotated PDF file?

Question: Hi , I have attached a document as I have tried your product as a trial and it doesn’t work. The text in this document I am trying to replace is 3G Controls Ltd but it still remains after conversion. Would appreciate if you could tell me if I am doing something wrong although feel I have done everything correctly as it seems straight forward. Regards

Answer: I have checked the attachment you sent to me, we can replace text in it successfully, so I guess there is some wrong operations. In the following part, I will show you the correct steps. But please note when handling rotated PDF, please use the command line version. As there will be some problems when replacing text in rotated PDF file by GUI version. Please use VeryPDF PDF Text Replacer Command Line.

Step 1. Download PDF Text Replacer Command Line

  • As this is command line version software, when downloading finishes, there will be an zip file. Please extract it to some folder then you can call the executable file in the MS Dos Window.
  • Please note there are two versions of GUI version: Mac and Windows. By the command line version only can work under Windows system.

Step 2. Replace Text in Rotated PDF

  • When you use this software, please refer to the usage and examples in readme.txt.
    Usage:pdftr.exe [options] <Input-file> <Output-file>
  • When you replace text in rotated PDF, please refer to the following command line template.
    pdftr.exe -contentreplace “My Name=>Your Name” D:\in.pdf D:\out.pdf
    The syntax of this command line is a little complicated, so please strictly refer the usage here. When you input the text and replaced text , please connected by “=>”.
    Related Parameters:
    -contentreplace <string>      : when you need to replace text in page content objects directly, please add this parameter.
    Please see the real conversion process from MS Dos Window.
    command line operation
    Now let us check the replaced effect from the following snapshot.
    input PDF and output PDF
  • When you need to replace text in batch, please refer to the following command line templates.
  • Batch process examples:
       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 %F in (D:\temp\*.pdf) do pdftr.exe -skip “%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”

And if you need to know more parameters and examples, please check them on our website. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Text Replacer | Tagged | Leave a comment

Query on converting PDF to word with Korean characters

Question :D ear support, we have a PDF file with Korean characters and it can’t get converted successfully to word. Can you advise what are the missing software we need to install?Thanks.

Answer: If you use VeryPDF PDF to Word Converter, this software only can convert text based PDF with Korean characters  to word. But when converting image based PDF, this software will fail. When converting image based PDF to word with Korean characters, please have a free trial of this software VeryPDF Table Extractor OCR.

Step 1. Download Table Extractor OCR

  • When download this software, please pay more attention to system request. There are two versions software: Mac and Linux. Please download the right version according to your computer system.
  • When install this software, please double click the exe file and follow installation message. When installation finishes, there will be an icon on the desktop. Simply click it then you can launch this software.

Step 2. Convert PDF to word with Korean characters.

  • Please add PDF file to software interface by clicking button Open. And if you use this software the first time, please click button of English to download the OCR language package of Korean. When downloading finishes, please click button Apply.

software interface of Table Extractor OCR

  • Click button rectangle to draw an area when you need convert it to word. And then click button OCR to run the conversion process. A few seconds later, the converted content will be shown in the bottom part.
  • Then you can click button Save to choose the output format. Please check details from the following snapshot. In the Save As dialogue box, you can choose output formats as CSV, XLS, XLSX, HTML, word, word with tables and others.

choose output formats

  • When you choose the save formats and folder then the output file will be shown at once. Now let us check the conversion effect from the following snapshot.

input PDF and output word

Differences of word document with table and word document without table: When there is some tables in the input PDF file, please draw line to separate tables. After OCR processing, if you need to keep the line tables, please choose word document with table. When you do not need those tables, please choose document without tables.

By this software, you can convert image PDF to word more than in 20 languages, like English, French, German, Italian, Spanish, and Portuguese, and others. And this software is good when handling scan PDF to word as there are some special functions like automatically deskew the input file when the skewed angle is less that 15 degree, rotate input files by different degrees and others. It can help you to make the PDF more clear to be extracted the content of it.

By this software, you can convert PDF to word with Korean characters. During using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in Table Extractor OCR | Tagged | Leave a comment

How to save print spooling data to a disk file during printing?

  VeryPDF PDFPrint Command Line allows you to save print spooling data to a disk file during do printing job by spooling. Normally speaking, most of the printer does not provide the spool file backup and recovery mechanisms. Even if the SAVSPLF file can be changed to physical file through spacial by any means, but it only can generate the spool file, but the contents of this data is lost which can not maintain the original spool file attributes, such as font, cpi, lpi and other important information. Based on this need, VeryPDF design software with this function.

  Spooling is refer to simultaneous peripheral operations on-line, it puts jobs in a buffer, a special area in memory or on a disk where a device can access them when it is ready. Spooling is useful because devices access data at different rates. The buffer provides a waiting station where data can rest while the slower device catches up. Now this technique is widely used in printing area, if you use spooling printing, please use this function to back up spooling data.

  Step 1. Download PDFprint

  • All the VeryPDF software are free download and free trial. So you can download it and have a free before pay for it.
  • Once downloading finishes, there will be an zip file. Please extract it to some folder then call the executable file.

Step 2. Save Spooling Data During Printing

  • When you run this software, please refer to the usage and example.
    Usage: pdfprint.exe [options] [Options] <PDF Files>
  • When you need to save spooling data during the printing, please refer to the following command line template.
    pdfprint.exe -printtofile C:\out.pcl -printer “HP PCL Printer” C:\input.pdf
    -printtofile <string>: when you need to save print spooling data to a disk file, please add this parameter.

There are too many functions to be listed here, I will introduce some of them here. If you need to know more functions, please check them on our website.
savedevmode <string> : when you need to prompt the user with print dialog and save the printer settings into a disk file, please use this parameter.
-loaddevmode <string>: when you need to restore printer settings which saved by -savedevmode parameter, please add this parameter.
-promptdevmode           : by this parameter, you can prompt the user with print dialog and print the printer settings to screen
-devmode <string>        :when you need to restore printer settings which outputed by -promptdevmode parameter, please add this parameter.

And this software also can convert all the printable files to paper document directly. Please check some examples here.
Print Raster Image formats:
   pdfprint.exe C:\input.bmp
   pdfprint.exe C:\input.jpg
   pdfprint.exe C:\input.tif
   pdfprint.exe C:\input.gif
   pdfprint.exe C:\input.png
   pdfprint.exe C:\input.pcx
   pdfprint.exe C:\input.tga
   pdfprint.exe C:\input.jp2
   pdfprint.exe C:\input.j2k
   pdfprint.exe C:\input.pnm

During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Print | Tagged , | Leave a comment

Render PDF to Raster image before printing by PDFprint

       VeryPDF PDFprint allows you to render PDF to raster image before printing. This function can solve this kind problem:when you try to print PDF with some special characters that your printer does not support,say if you use Toshiba printer, when printing traditional Chinese without any software, there will be some problem during the printing.  However, if we can convert PDF to raster image and then encode it by hex, this matter can be solved. All these encoding process can be done by this software, then you can print any kind of PDF without any problem. In the following part, I will show you how to use this function of this software to print PDF to raster image.

Step 1. Download PDFprint

  • This is command line version software, so when downloading finishes, please unzip it to some folder then you can call the executable file in MS Dos Windows.
  • Please note this software only can work under Windows system. And on our website, there is only server version, which allows you to use under the whole sever. But it still can work under computer or laptop.

Step 2. Render PDF to Raster Image Before Printing

Usage:pdfprint.exe [options] [Options] <PDF Files>

  • When you handle PDF with special characters or some ones which can be printed correctly, please try the following command line templates.
  • pdfprint.exe -raster C:\input.pdf
    pdfprint.exe -raster2 -rasterbitcount 1 C:\input.pdf
    pdfprint.exe -raster2 -rasterbwtext -rasterbitcount 1 -xres 600 -yres 600 C:\input.pdf
    pdfprint.exe -raster2 -raster2center -printermargins C:\input.pdf
    Related Parameters:
    -raster                      : by this parameter, software will render PDF page to image before printing
    -raster2                     : This parameter provides another mode to render PDF page to image before printing
    -raster2center               : this parameter can help you center the printout when use -raster2
    -rasterbitcount <int>        : When you need to set bitcount for raster image,please add this parameter. And there are three values for you to choose:  1, 8, 24. When you use it, please use it like  -rasterbitcount 1,  -rasterbitcount 8 and  -rasterbitcount 24.
    -rasterbwtext             : when you need to disable halftone for color text, for -raster2 only

  • Another benefit when printing PDF to raster image file is that you can check the printing code. But you may also meet some problem when printing it to raster like you can not control the raster image size, there will be no output and even if you preview it on computer good but the printing output is really bad.
    When you encounter any one of the problem, please check your printer whether supports image printing or contact us as soon as possible. We will solve your problem at the first time.

If you use the trial version, there will be trial version watermark. When you register it, this matter will be solved at once.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF Print | Tagged , | Leave a comment
Page 1 of 1,10012345...102030...Last »