DOC to Any Converter

Word to EPS Command Line Converter- convert doc to eps and add page number

   VeryDOC Word to EPS Converter can help you convert word(doc, docx), RTF, TXT, PPT, PPTX, XLS, XLSX, OpenOffice ODT, HTML, MHTML files to EPS and add add various watermarks on output files through command line operation. If you need to know more about this software, please visit it its homepage. And in the following part, I will show you how to convert word to eps and add page number.

Step 1. Download Word to EPS Converter

  • This is Windows command line software, when downloading finishes, there will be an zip file in downloading folder. Please extract it to some folder then you can call the executable file in MS Dos Windows.
  • And all the VeryDOC software are free and clear to be downloaded, so you can rest assured to use them.

Step 2. Convert word to eps and add page number

  • When you run the conversion, please refer to the usage and examples in readme.txt file.
  • Usage:    DOC2Any [options] <in-file> [<out-file>]
  • When converting word to eps and add page number, please refer to the following command line templates.
  • doc2any.exe -wtext "Watermark %PageNumberRoman% of %PageCountRoman%" "C:\in.doc" C:\out.eps
    doc2any.exe -wtext "Watermark %PageNumberRoman2% of %PageCountRoman2%" "C:\in.docx" C:\out.eps
    By those above command line, we can convert doc, docx file to eps and add two different kinds of Roman character page number.
    doc2any.exe -wtext "Watermark %PageNumber% of %PageCount%" -walign 3 -wtype 1 "C:\in.ppt" C:\out.eps
    doc2any.exe -wtext "Watermark %PageNumber% of %PageCount%" -walign 2 -wtype 2 "C:\in.excel" C:\out.eps
    By this above command line, we can convert PPT, Excel to eps and add page number in the format of page count. Meanwhile, we can control page number style, position and others.

Now let us check related parameters:
-wtext <string>   : Watermark text on printed document
    -wtext does support following dynamic values:
    %PageCount%, %PageNumber%, %PageCountRoman%, %PageCountRoman2%,
    %PageNumberRoman%, %PageNumberRoman2%, %Author%, %Keywords%,
    %Subject%, %Title%, %Filename%, %Date%, %Time%
  -wtype <int>             : type of watermark
    0 : normal watermark
    1 : watermark on header
    2 : watermark on footer
  -wf <string>         : font name of watermark
  -wh <int>              : font size of watermark
  -wb                         : specify bold font
  -wi                          : specify an italic font
  -wu                        : specify an underlined font
  -ws                          : specify a strikeout font
  -wa <int>               : angle of watermark
  -wbox <string> : a rectangle to output formatted text, it is only useful for "-walign" option, eg:
    -wbox "0,0,595,842"
    -wbox "0,0,612,792"
    -wbox "auto"
  -walign <int>  : set text align or position. 1 : left    2 : center      3 : right

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 word file
                          input word document

output eps file from ppt
                     output EPS file

VN:F [1.9.20_1166]
Rating: 4.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
DOC to Any Converter

Convert PPT to PDF and add page number as watermark by command line

   For some reasons, sometimes we need to convert PPT to PDF and add page number. There are many ways to figure out the conversion in the market, but may seldom ones catering to your needs.  Here I will share one method of convert PPT or PPTX to PDF and add page number by command line, which also allows you to do the conversion together with ASP/PHP/C#/.NET/... etc. server side applications.

  I use software VeryDOC DOC to Any Converter, which can help you convert DOC, DOCX, DOCM, RTF, TXT, PPT, PPTX, XLS, XLSX, OpenOffice ODT, HTML, MHTML files to PDF and add page number as watermark. In the following part, I will take converting PPT to PDF and adding page number for example to show you how to use this software.

Step 1. Download DOC to Any Converter

  • All the VeryDOC software are free downloading and trying, so you can rest assured to download it and use it free for hundreds of times.
  • When downloading finishes, there will be a zip file. Please extract it to some folder then we can call the executable file in MS Dos Windows.

Step 2. Convert PPT to PDF and add page number

  • When you run the conversion, please refer to usage and examples.
  • Usage:         DOC2Any [options] <in-file> [<out-file>]
  • When converting PPT to PDF and add page number, please refer to the following command line templates.
  • doc2any.exe -wtext "Watermark %PageNumber% of %PageCount%" -wpagebegin 10 -wpageend 20 -wpageoffset 100 "C:\in.ppt" C:\out.pdf
    By this command line, we can convert PPT to PDF and add page number. Meanwhile, you can control the conversion page range. In the above command line, we set the start page at 10 and the end page is 20.
    doc2any.exe -wtext "Watermark %PageNumberRoman% of %PageCountRoman%" "C:\in.ppt" C:\out.pdf
    By this command line, you still can not convert PPT to PDF but the dynamic page number using fonts of Roman characters.
    doc2any.exe -wtext "Watermark %PageNumberRoman2% of %PageCountRoman2%" "C:\in.pptx" C:\out.pdf
    This command line shows converting PPTX to PDF and add another type of Roman characters as page number.
    Now let us check related parameters:
    -wtext <string>          : Watermark text on printed document
        -wtext does support following dynamic values:
        %PageCount%, %PageNumber%, %PageCountRoman%, %PageCountRoman2%,
        %PageNumberRoman%, %PageNumberRoman2%, %Author%, %Keywords%,
        %Subject%, %Title%, %Filename%, %Date%, %Time%
      -wtype <int>             : type of watermark
        0 : normal watermark
        1 : watermark on header
        2 : watermark on footer
    -wpagebegin <int>        : first page to add the watermark
    -wpageend <int>          : last page to add the watermark
    -wpageoffset <int>       : a value to be added to page number

    Now let us check the conversion effect from the following snapshots.

input PPT
                                   Input PPT file.

output PDF from PPT
                    Output PDF file.

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)
DOC to Any Converter

Convert word to PDF and delete empty pages by command line

When converting word to PDF in batch, there will be some empty pages which will cause a kind of waste no matter in saving or printing. In order to avoid wasting, VeryDOC Doc to Any Converter can delete empty pages during conversion. And this function can be applied to convert all the Office file, OpenOffice files to PDF. In the following part, I will show you how to use this function.

Step 1. Download Doc to Any Converter

  • This is command line Windows application, when downloading finishes, there will be a zip file in downloading folder. Please extract it to some folder then you can check the elements and call the executable file in MS Dos Windows.
  • When you run the conversion, please refer to the usage and examples in readme.txt file.

Step 2. Convert Word to PDF and Delete Pages Automatically

  • Here is the usage for your reference. Usage:   DOC2Any [options] <in-file> [<out-file>]
  • When convert word to PDF and delete pages, please refer to the following command line templates.

    doc2any.exe C:\in.doc -useprinter -useoffice 1 –showofficeui -noempty   C:\out.pdf
    By this command line, we can convert doc to PDF using virtual printer and MS Office and delete empty pages in output PDF file. And during the conversion, the MS Office Windows will show. When you use this command line, you need to install MS Office Word application.
    doc2any.exe C:\in.docx -killoffice 1 –useprinter -noempty   C:\out.pdf
    When converting word docx file to PDF and delete empty pages, it is quite necessary to install MS Office 2010 or later version. However, when convert doc to PDF, MS Word application does not need to be installed. Meanwhile, you can use the free Open Office to replace MS Office during the conversion.
    Now  let us check related parameters:
    -useoffice <int>         : Use MS Office to render DOC,DOCX,RTF,TXT,PPT,PPTX,PPTS,PPTSX,XLS,XLSX formats
      -useoffice 0: Don't use MS Office to convert DOC,DOCX,RTF,TXT,PPT,PPTX,XLS,XLSX formats
      -useoffice 1: Use MS Office to convert DOC,DOCX,RTF,TXT,PPT,PPTX,XLS,XLSX formats
    -useprinter              : Convert DOC files to other formats via virtual printer
    -showofficeui            : Show Office Windows during conversion
    -noempty                 : Delete empty pages from PDF file

  • And this software also can help you add watermark to PDF, set password to protect output PDF file. Here are some examples for your reference.

    doc2any.exe -wtext "Watermark %PageNumber% of %PageCount%" -walign 2 -wtype 2 "C:\in.doc" C:\out.pdf
    doc2any.exe -wtext "%Filename% %Date% %Time% %PageNumber% of %PageCount%" "C:\in.doc" C:\out.pdf
    doc2any.exe -ownerpwd 123 -keylen 2 -encryption 3900 C:\in.doc C:\out.pdf

If you need to know more parameters and examples, please check them in readme.txt and website. And those functions are extremely good when you need to convert doc to PDF for printing and then disturbing. For one thing, you can add your company logo to output PDF. And for anther thing, there is no waste when printing as empty pages will be deleted automatically. 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)
DOC to Any Converter

Convert HTML to PDF and split long HTML by height

   When converting long HTML file to PDF, you may meet two kinds situations: one is that long HTML is totally kept in one PDF page, which will be hard to be printed; another situation is that the long HTML file is cut at random paragraph, some time image will be cut into two parts. In order to convert long HTML to PDF perfectly, we can split long HTML file to small parts by specifying height. In the following part, I will show you how to make it.

I use software VeryDOC DOC to Any Converter, which is a command line Window application. It can convert HTML to PDF and specify width and height. After conversion, if you need to set password to output PDF, this software also can make that for you.

Step 1. Download DOC to Any Converter

  • When downloading finishes, there will be a zip file. Please extract it to some folder then you can call the executable file in MS Dos Windows. And all the parameters and examples are listed in readme.txt.
  • If you need to know more functions of this software, please check them in software homepage.

Step 2. Convert long HTML to PDF and split it by height.

  • When run this software, please refer to the usage and examples.
  • Usage:    DOC2Any [options] <in-file> [<out-file>]
  • Here are some examples for your reference.
    doc2any.exe C:\in.htm C:\out.pdf
    By this command line, we can convert HTML to PDF singly.
    doc2any.exe –emfheight 200 C:\in.html C:\out.pdf
    By this command line, we can split long HTML at 200
  • doc2any.exe C:\in.mhtml C:\out.pdf
    It can help you convert MHTML file PDF too.
    doc2any.exe -ownerpwd 123 -keylen 2 -encryption 3900 C:\in.htm C:\out.pdf
    When conversion from HTML to PDF, we can set password to protect output PDF by owner password and open password.
    doc2any.exe -viewerzoom 1600 -viewpage 10 -viewpagemode 2 -view "C:\in.htm" C:\out.pdf
    After conversion, we can set zoom rate, view page and view page mode.

    for %F in (D:\test\*.htm) do "doc2any.exe" "%F" "%~dpnF.pdf"
    for /r D:\test %F in (*.htm) do "doc2any.exe" "%F" "%~dpnF.pdf
    When you need to do batch conversion, please refer to the above two for modes.
    doc2any.exe -wtext "VeryPDF" -wf "Arial" -walign 3 -wh 20 -wbox "0,770,612,792" "C:\in.doc" C:\out.pdf
    doc2any.exe -wtext "Watermark %PageNumber% of %PageCount%" "C:\in.doc" C:\out.pdf
    This software also allows you to convert HTML to PDF and add watermark in batch.

    Now let us check related parameters:
    -height <int>            : Set page height to PDF file
    -emfheight <int>         : Split a long HTML file by height
    -pageheight <int>        : Split a long HTML page by page height, same as -emfheight
    -pageh <int>             : same as -pageheight
    -ph <int>                : same as –pageheight
    -viewerzoom <string>     : Set viewer zoom ratio to Adobe Reader
    -openpwd <string>        : Set 'open password' to PDF file
    -ownerpwd <string>       : Set 'owner password' to PDF file
    -wtext <string>          : Watermark text on printed document
        -wtext does support following dynamic values:
        %PageCount%, %PageNumber%, %PageCountRoman%, %PageCountRoman2%,
        %PageNumberRoman%, %PageNumberRoman2%, %Author%, %Keywords%,
        %Subject%, %Title%, %Filename%, %Date%, %Time%
      -wtype <int>             : type of watermark
        0 : normal watermark
        1 : watermark on header
        2 : watermark on footer

By this software and those parameters, we can handle long HTML file when converting HTML to PDF. 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)
DOC to Any Converter

How to check MS Word password and convert it to PDF?

   In the 2007 Microsoft Office system and later versions, you can use passwords to help prevent other people from opening or modifying your word documents, workbooks, and presentations. And if you forget these password, MS Office can not help you retrieve it. For those word documents which have password and have been lost, we can not do further processing.  When do batch conversion, word with password will effect the whole conversion. In the following part, I will show you how to check MS Word password and then convert word files to PDF.

  I use software VeryDOC DOC to Any Converter Command Line, which is command line Windows application and it can help you batch convert MS Office, OpenOffice files to PDF, Postscript,image, flash,  XML, JPG, TIFF, EMF, etc. formats. If you need to know more about it, please visit its homepage.

Step 1. Download DOC to Any Converter Command Line

  • When downloading finishes, there will be a zip file. Please extract it so some folder then you can check elements and call  it in MS Dos Windows.
  • When run conversion, please refer to usage and examples.

Step 2. Check Word password and convert word to PDF.

  • Usage:  DOC2Any [options] <in-file> [<out-file>]
  • When you need to check word password, please refer to the following command line template.
    doc2any.exe –checkpassword input.doc
  • doc2any.exe –checkpassword C:\*.doc
    Now let us check related parameter:
    -checkpwd                : Check if MS Word document contains an open password
    The following snapshot is from MS Dos real operation. This function also allows you to check password in batch by wild character. And when checking finishes, this software will help you convert doc file to PDF directly if those input doc files are not password protected.
    check password

  • And this function also can be applied when convert other MS Office file OpenOffice files to PDF and check password.
  • Or if you are afraid that the conversion may fail, maybe you can add this parameter:
    -noretry                 : Don't try to re-convert failed office documents
    If you add this parameter, when conversion fails, it will turn to next conversion. The conversion will not be delayed by failed files.
  • Meanwhile this software also can help you set password for Office files.
  • -password <string>       : Set open password for office documents
    doc2any.exe -useprinter -useoffice 1 -noretry -password 123456 D:\test.docx D:\out.pdf
    -useoffice 1: Use MS Office to convert DOC,DOCX,RTF,TXT,PPT,PPTX,XLS,XLSX formats
    -useprinter              : Convert DOC files to other formats via virtual printer
    But when you use this function, you need to install MS Office Word application.

By this software and this method, we can check MS Word password and convert doc to PDF directly. And this method can be applied to all version MS files.  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)