@VeryDOC

How to convert PDF to text by command line?

   VeryDOC PDF to Text Converter either can be used to convert PDF to text by software interface or convert PDF to text by command line. In this article, I will show you how to use the command line version.

First, download PDF to Text Converter

  • When downloading, you will find it is an exe. Please double click the exe file and follow the installation message to install it on your computer. The installation may take a few seconds.
  • When installation finishes, please go to the installation folder and find pdf2txt.exe.

Second, find parameter list and usage

  • Please call pdf2txt.exe in MS Dos Windows and press –h or –? on the keyword then you will see the parameter list.
PDF2TXT <input PDF file> [output TXT file] 
	[-logfile] [-open] [-space] [-html] [-format] [-silent] [-blankline] 
	[-summary] [-zoom <num>] [-?] [-h]
	<input PDF file>: Open an existing PDF file to convert.
	[output TXT file]: Write to TEXT file, the default is same filename of 
	input PDF file.
	[-first <page number>]: Specify the first page number.
	[-last  <page number>]: Specify the last page number.
	[-logfile]: Write log to "C:\pdf2txt.log" file.
	[-open]: Auto open the text file after it be created.
	[-space]: Auto insert spaces into text file.
	[-html]: Output to a HTML file, not a text file.
	[-format]: Keep the page layout in the generated TXT file.
	[-silent]: Disable error and warning messages.
	[-blankline]: Auto delete blank line in the generated TXT file.
	[-summary]: Get PDF document summary.
	[-zoom <num>]: Set zoom ratio, the range is from 50 to 200.
	[-unicode]: 
	Create unicode (UTF-8) encoding text file.
	[-?]: Help.
	[-h]: Help.
	

Third, convert PDF to text by command line

  • Please run the conversion in compliance with the usage and examples.
    Examples
  • When convert single PDF to text, please refer to the following command line. You do not need to specify the output folder, the conversion can be done in a few seconds. And even if there is no log information, the conversion has been done. pdf2text
  • This command line software supports wild character when you do the batch conversion, please refer to the following command line. If you need to specify the output folder, please specify the output file path at the end of the command line.
  • C:\>PDF2TXT C:\*.pdf
    C:\>PDF2TXT C:\*.pdf C:\*.txt
    C:\>PDF2TXT C:\test\*.pdf C:\test\*.txt

And there are more functions, I can not list all of them here. In the VeryDOC knowledge base, we will publish more articles about its function. Please pay more attention to our website. Now let us check the conversion effect from the following snapshot.During the using, if you have any question, please contact us as soon as possible.

input PDF and output text

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

Print HTML to TIFF and compress it professionally

VeryDOC HTMLPrint to Any Converter can be used to print website to paper document professionally. Meanwhile, it also can be used to convert HTML to  tiff easily and there are many compression methods for you to choose. In the market, there are lots of software which can be used to convert HTML to tiff allowing to compress output tiff, but if you need to do conversion together with printing, this software is the best for you. In the following part, I will show you how to convert HTML to tiff and compress it by HTMLPrint to Any Converter.

                                           tryme                                              buyone

Step 1. Download HTMLPrint to Any Converter

  • All the VeryDOC software are free download allowing you to use free tens of times. And it will charge you without your permission. So please rest assured to test  it.
  • As this is command line software, we have compressed it to zip file. Once downloading finishes, please extract it to some folder then you can check elements in it. html2any.exe is the executable file, please call it in the MS Dos Windows.

Step 2. Convert HTML to tiff and Compress output

  • When you do the conversion, please refer to the usage and examples.

Usage: html2any.exe [options] <HTML/MHTML file or URL>
Examples

  • When converting single HTML to tiff, please refer to the following command line.
    html2any.exe -printtoimage C:\out.tif -imgbc 24 http://www.verypdf.com
    Parameters:-printtoimage <string>  : print HTML document to image files
    -imgbc <int>            : Set color depth (1, 4, 8) for out image conversion
  • When you need to compress the output PDF file, please refer to the following command line.
    html2any.exe -printtoimage C:\out.tif -imgbc 24 -compress 32773 http://www.verypdf.com
    There are following compression methods for you to choose:
  • -compress <int>         : Set compression to TIFF image
        -compress 1     : NONE compression
        -compress 2     : CCITT modified Huffman RLE
        -compress 3     : CCITT Group 3 fax encoding (1d)
        -compress 4     : CCITT Group 4 fax encoding
        -compress 5     : LZW compression
        -compress 6     : OJPEG compression
        -compress 7     : JPEG DCT compression
        -compress 32773 : PACKBITS compression
        -compress 32809 : THUNDERSCAN compression
        -compress 88880 : 204x98  G4 ClassF TIFF
        -compress 88881 : 204x196 G4 ClassF TIFF
        -compress 88882 : 204x98  G3 ClassF TIFF
        -compress 88883 : 204x196 G3 ClassF TIFF
        -compress 88884 : CCITT Group 3 fax encoding (2d)

Now let us check the conversion effect from the following snapshot. During the using, if you have any question, please contact us as soon as possible.

output tif file

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

Print website to paper document and set related options

   Sometime maybe you need to print website or some important information from website to paper document for reference. Normally speaking, we have to convert website to PDF or save it to word document then print it. But now in this article, I will show you one way of printing website to paper document directly.

Step 1. Download HTMLPrint to Any Converter

  • VeryDOC HTMLPrint to Any Converter can be used to batch print html, mhtml files or Web URLs to Windows Printer. This software can help you print the whole content to Printer then you can control the whole printing process by command line.
  • This software is command line version, for facilitating uploading and downloading,we have compressed it to zip file. Once downloading finishes, please extract it to some folder and check elements in it.

Step 2. Print Web Page to Paper Document

  • When use this software to print HTML file to paper document, please make sure that your computer is connected with Window Printer. When you need to do file format conversion, please install virtual printer.
  • In the following example, I will take virtual printer "PDFcamp Printer" for example.

Usage:html2any.exe [options] <HTML/MHTML file or URL>
Examples:

  • When you need to print web page to paper document and specify printing copy and paper size, please refer to the following command line.
    html2any.exe -printer "PDFcamp Printer" -copies 3 -paper 9 C:\test.htm
  • -copies <int>           : copies to print
    -paper <string>     : set paper size to printer
    number : standard paper size
    others : user defined paper size
    If you need to print web page to standard paper size, please use the following examples:
    html2any.exe -printer "PDFcamp Printer" -paper "11x17in" C:\test.htm
    html2any.exe -printer "PDFcamp Printer" -paper "215.9x279.4mm" C:\test.htm
    html2any.exe -printer "PDFcamp Printer" -paper "612x792pt" C:\test.htm
    html2any.exe -printer "PDFcamp Printer"612x792pt" -orient 1 C:\test.htm
    html2any.exe -printer "PDFcamp Printer" -paper "612x792pt" -orient 2 C:\test.htm

  • During the printing, if you need to show the printing dialogue box to set the printing options, please refer to the following command line.
  • html2any.exe -prompt C:\test.htm
    html2any.exe -prompt
    http://www.verypdf.com
    -prompt : prompt the user with the print dialog so they can change printer settings and/or select pages manually

There are some related parameters for you to use;
-savedevmode <string>   : prompt the user with print dialog and save the printer settings into a disk file
  -loaddevmode <string>   : restore printer settings which saved by -savedevmode parameter
  -promptdevmode          : prompt the user with print dialog and print the printer settings to screen
  -devmode <string>       : restore printer settings which outputed by -promptdevmode parameter

By this software you can print web page to paper document directly. 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)
Advanced PDF Editor

How to convert Chinese PDF to Image by PDF Editor?

  VeryDOC Advanced PDF Editor is an application for editing PDF in various aspects, which can be judged from its name. However, now it has been updated and it can also be used as PDF to image converter. Different with other PDF to image converters, it supports all versions PDF files in all kinds of languages. Meanwhile it allows you to edit PDF first then convert it to image.

  It often occurs that we can not open some kinds of PDF file by Adobe reader for requiring downloading corresponding fonts package from  Adobe website. If there is no website connection or  website connection is quite slow, you can not view those PDF immediately. But if you open those kind of PDF by PDF Editor, there should not have such problem. In the following part, I will show you how to use this software.

Step 1. Download and Install

  • Download Advanced PDF Editor. This software has user friendly interface, so you need to install it. Once the downloading finishes, there will be an exe file in the downloaded folder. Please install it by double click the exe file and follow the installation message.
  • The installation takes a few seconds and then there will be an icon on the desktop. Simply click it then you can launch this software.

Step 2. Convert Chinese PDF to image

  • Please launch PDF Editor and add PDF file to software interface.The following snapshot is from the software interface. Please add PDF file by clicking option Open or simply drag files from its containing folder to software interface. Seeing from the following snapshot, we can get that even if the traditional Chinese, there is no problem. And you do not need to download any font library.

software interface of PDF Editor

  • If you need to edit the PDF file, please click option Edit Comment or Edit Content then you can do the editing job. 
  • As we need to convert this Chinese PDF to image, please click option File then go to Save As dialogue box.key Or you can press hot key “ctr+shft+S” on the keyboard. Then you will see the following dialogue box.

Save As dialogue box

  • Here you can choose more then image file formats to save the edited PDF as.  And when you save it as image file format, in the dialogue box where you can choose the page range and output image resolution in X and Y direction.  This option is extremely good when you need to save one page or a few pages to image file.
  • When you finish setting part, please click button Save to finish choosing output folder.

By this method, you can save PDF to image by PDF Editor no matter what the language is in PDF document. Please check the conversion effect from the following snapshot. During the using, if you have any question, please contact us as soon as possible.

input PDF and output tif

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

How to edit PDF content by Advanced PDF Editor?

VeryDOC Advanced PDF Editor can be used to change PDF content or replace some fonts in batch.In this article, I will take a random PDF file for example to show you how to edit PDF.

Step 1. Download and Install

  • Advanced PDF Editor is GUI version software, so you need to install its software interface. Once downloading finishes, there will be an exe in the downloaded folder. Please double click the exe and follow the installation message.
  • Once the downloading finishes, there will be an icon on the desktop. Please launch this software by double clicking the icon.

Step 2. Edit PDF

  • First, you need to judge PDF property. There are two kinds PDF file:image PDF and text based PDF. When edit text based PDF, please use the following method. The following snapshot is from the software interface. Please add file by clicking button Open.

software interface of PDF Editor

  • When you add file to software interface, please click option Edit Content then double click the the part that you need to edit. Then there will be red rectangle around text. Please right click it then you will see the dropdown list. Please choose option Properties then you will see the following dialogue box.

edit PDF content

  • It is not hard to find that most of the basic fonts information has been shown in the General tab. In the Text part, you can edit the text content. In the Font part, you can edit Embedded font style. In the Font size part, you can change font size. In the Color part, you can change the font color. In the Transform part, you can transform font from X and Y directions.

By this method, you can edit content of text based PDF file. Now let us try to edit content of image PDF file. After adding file to software interface, please click option Edit Comment like I showed in the following snapshot.

edit image PDF

  • Please click option Edit Comment then the icons will go fresh. Please click T icon then the mouse will turn to cross. Please draw the area where you need to edit PDF. Then the frame will go black and please double click it till it goes red like the following snapshot. Please right click the frame and then you will see the dropdown list.

edit image PDF 2

  • Please choose Properties then you will see the following dialogue box. Here please set fill color as white, border as white. Make sure the font size is the same with the original PDF fonts. And you can adjust opacity. Normally 100% is best.

properties

  • When you finishes setting, please click button Close to back to main interface.
  • Then please double click the frame then you can you can input text in it. By this way you can add a new layer on the text which covers the old text.

If you are interested in this software, please buy one then you can use it forever. 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)