DOC to Any Converter

Doc2Any JPG sizing not working

I want to use doc2any to make 2 versions of JPGs, one full res and one at say 640x480 at 50-60% quality.

It's not working. Please let me know what I'm doing wrong. Here's my
command line call:

C:/www/w1.XXXXXXXXX.com/docroot/../owr/tools/doc2any/doc2any.exe -bitcount 1 -xres 300 -yres 300 "C:\www\w1.XXXXXXXXX.com\docroot\files\convex_channel.pptx" "C:\www\w1.XXXXXXXXX.com\docroot\files\converted\\20D2B228-C01D-0D6E-75F2-A088C8A9141E_files\jpg\20D2B228-C01D-0D6E-75F2-A088C8A9141E_640.jpg"

Here's what I get....

C:\www\w1.XXXXXXXXX.com>C:/www/w1.XXXXXXXXX.com/docroot/../owr/tools/doc2any/doc2any.exe -bitcount 1 -xres 300 -yres 300 "C:\www\w1.XXXXXXXXX.com\docroot\files\convex_channel.pptx" "C:\www\w1.XXXXXXXXX.com\docroot\files\converted\\20D2B228-C01D-0D6E-75F2-A088C8A9141E_files\jpg\20D2B228-C01D-0D6E-75F2-A088C8A9141E_640.jpg"
Thank you for choosing 'VeryDOC DOC to Any Converter' product.
Loading "C:\www\w1.XXXXXXXXX.com\docroot\files\convex_channel.pptx"file...[20%]
Export file(s)...[50%]
Shutdown PowerPoint Application...[60%]
Conversion time = 2402ms

C:\www\w1.XXXXXXXXX.com\docroot\files\convex_channel.pptx ==>C:\www\w1.XXXXXXXXX.com\docroot\files\converted\\20D2B228-C01D-0D6E-75F2-A088C8A9141E_files\jpg\20D2B228-C01D-0D6E-75F2-A088C8A9141E_640.jpg, result=ERROR

TickCount = 2402ms(2.40s), Result = 0

Customer
-----------------------------------------------

You can run following command line to convert your DOCX file to JPG files and resize JPEG files to 200x150,

doc2any.exe -width 200 -height 150 -useprinter -useoffice 1 "%CD%\example.docx" "%CD%\example.jpg"

image

image

You can run following command line to convert your PPTX file to JPG files and resize JPEG files to 640x480,

doc2any.exe -width 640 -height 480 -useprinter -useoffice 1 "%CD%\example.docx" "%CD%\example.jpg"

You can run following command line to convert your PPTX file to JPG files at 300 DPI, this is the full size image,

doc2any.exe -useprinter -xres 300 -yres 300 -useoffice 1 "%CD%\example.pptx" "%CD%\full_size_example.jpg"

image

image

also, please don’t use “-bitcount 1” for JPEG image, because JPEG image is not support black and white image.

VeryPDF

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 convert word to flash in batch by command line?

    In this article, I will share a method of converting word to flash by command line in batch. The software I use is VeryDOC DOC to Any Converter, which also can be used to convert DOCM, RTF, TXT, PPT, PPTX, XLS, XLSX, OpenOffice ODT, HTML, MHTML files to flash. In the following part, I will show you how to convert word to flash.

Step 1. Install DOC to Any Converter Command Line

  • If you are not familiar with the command line software, there is also GUI version available on the website. Here I will use the command line version for example.
  • When downloading finishes, there will be a zip file in downloading folder. Please extract it to some folder then you can check elements in it. First please find executable file and readme.txt then you can call it from MS Dos Windows.

Step 2. Convert word to flash by command line.

  • When use this software, please refer to the usage and examples. Here is the usage for your reference:
  • DOC2Any [options] <in-file> [<out-file>]

  • When convert word file to flash, please refer to the following command line template.
    doc2any.exe C:\in.doc C:\out.swf
    doc2any.exe C:\*.doc C:\*.swf
    By this command line,we can convert word file to flash in batch using wild character.
  • Here are some more examples of convert others file formats to flash.
  • doc2any.exe C:\in.ppt C:\out.swf
    doc2any.exe C:\in.xls C:\out.swf
    doc2any.exe C:\in.docx C:\out.swf
    doc2any.exe C:\in.pptx C:\out.swf
    doc2any.exe C:\in.xlsx C:\out.swf
    Please note when converting Office file to flash by this software, you need to install Office application or else the conversion may fail. And this is not the professional tool of converting word file to flash, there is no other setting parameters for output flash files. However, by this software you can convert word file to PDF in various formats then convert PDF to flash with quite professional parameters setting.

On VeryDOC website, we have professional software which allows you to convert PDF to flash, which is VeryDOC PDF to Flash Converter. By this software, you can set Flash frame rate, compress and optimize SWF files automatically, adjust resolution to 1x, quality is worst and file is small and so on so forth. Please check more information on its website.

       When converting word to flash by DOC to Any Converter, there are some advantages:

  1. This software supports more files like Office, OpenOffice and others as input.
  2. This software also can help you convert files to PDF, image and others.
  3. When converting files to PDF and then PDF to flash, this software allows you to add watermark to PDF and then watermark on flash.

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 text to tiff and compress tiff by CCITT method through command line

      In this article, we will talk about how to convert text to tiff and compress tiff file by CCITT compression method through command line. The software I used here is VeryDOC DOC to Any Converter, which is command line Windows application. By this software, you can convert all the Office, OpenOffice and others editable files to PDF, image and others. For more information, please check homepage of DOC to Any Converter. In the following part, I will put all the effort on showing how to convert text to TIFF and compress it.

First of all, download DOC to Any Converter

  • Please note all the VeryDOC software is clear and free downloading. So you can rest assured to try and text this software free hundreds of times.
  • When downloading finishes, there will be a zip file. All you need to do is that extract it to folders and then call the executable file in MS Dos Windows.

Secondly, convert text to tiff and set compression modes.

  • When you run the conversion, please obey rules and syntax of this software or else the conversion may fail.
  • Here is the usage:  DOC2Any [options] <in-file> [<out-file>]
  • When converting text to tiff and set compression modes, please refer to the following command line templates.
  • doc2any.exe -multipagetif  -useprinter "C:\in.txt" C:\out.tif
    By this command line,we can convert text file to multipage tiff file using virtual printer.
    doc2any.exe -multipagetif -bitcount 1 -xres 300 -yres 300 "C:\in.txt" C:\out.tif
    By this command line, we can specify output tiff bitcount  as 1, specify resolution in X and Y directions.
    doc2any.exe -useprinter -compression 88880 "C:\in.txt" C:\out.tif
    doc2any.exe -compression 88881 "C:\in.txt" C:\out.tif
    doc2any.exe -useprinter -compression 88883 "C:\in.txt" C:\out.tif
    doc2any.exe -multipagetif -useprinter -compression 88880 "C:\in.txt" C:\out.tif
    By those above command line templates, we can convert text to tiff and specify compression method. Now let us check the compression modes from the following parameters.

-xres <int>              : Set X resolution to image file
-yres <int>              : Set Y resolution to image file
-bitcount <int>          : Set color depth for image conversion
-compression <int>       : Set compression for TIFF image
   -compression 1     : NONE compression
   -compression 2     : CCITT modified Huffman RLE
   -compression 3     : CCITT Group 3 fax encoding (1d)
   -compression 4     : CCITT Group 4 fax encoding
   -compression 5     : LZW compression
   -compression 6     : OJPEG compression
   -compression 7     : JPEG DCT compression
   -compression 32773 : PACKBITS compression
   -compression 32809 : THUNDERSCAN compression
   -compression 88880 : 204x98  G4 ClassF TIFF
   -compression 88881 : 204x196 G4 ClassF TIFF
   -compression 88882 : 204x98  G3 ClassF TIFF
   -compression 88883 : 204x196 G3 ClassF TIFF
   -compression 88884 : CCITT Group 3 fax encoding (2d)

Up to now, maybe you can know how to convert text to tiff and set compress mode according to your needs. 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

How to convert Web URL to PDF and set watermark through command line?

   In this article, VeryDOC will show you how to convert URL to PDF through command line and set watermark on output PDF file. The software I use here is VeryDOC DOC to Any Converter, by which we can also convert local website, HTML, MHTML to PDF. If you need to run the conversion through Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. there is also corresponding version available for you. For more information about DOC to Any Converter, please visit its homepage. In the following part, I will show detail steps about converting URL to PDF and set watermark.

Step 1. Download DOC to Any Converter

  • Please note this is Window application, it can not work under Mac or Linux system. But it supports most of Window system both of 32-bit and 64-bit.
  • When downloading finishes, there will be a zip file. Please extract it to some folder then we can find the executable file in MS Dos Windows.

Step 2. Convert URL to PDF and set watermark

  • When you run the conversion, please refer to the usage of this software and follow examples.
  • Usage:    DOC2Any [options] <in-file> [<out-file>]
  • When you need to convert URL to PDF and set watermark, please refer to the following command line templates.
  •    doc2any.exe -wtext "VeryDOC" https://www.verydoc.com C:\out.pdf
       doc2any.exe -wtext "VeryDOC" -wc "0000FF" "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "DOC to Any Converter" -wx 100 -wy 100 "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "DOC to Any Converter" -wtype 1 "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "DOC to Any Converter" -wtype 2 "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "DOC to Any Converter" -wtype 0 -wa 45 "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "DOC to Any Converter" -wf "Arial" "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "DOC to Any Converter" -wf "Arial" -wh 20 "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "VeryDOC" -wf "Arial" -wh 20 -wb -wi -wu -ws "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "VeryDOC" -wf "Arial" -walign 3 -wh 20 -wbox "0,770,612,792" "https://www.verydoc.com/oc" C:\out.pdf
    By above command line, we can convert online URL to PDF and add various watermark. When you need to add page number for the output PDF file as watermark.
       doc2any.exe -wtext "Watermark %PageNumber% of %PageCount%" "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "Watermark %PageNumber% of %PageCount%" -wpagebegin 10 -wpageend 20 -wpageoffset 100 "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "Watermark %PageNumberRoman% of %PageCountRoman%" "https://www.verydoc.com/" C:\out.pdf
       doc2any.exe -wtext "Watermark %PageNumberRoman2% of %PageCountRoman2%" "https://www.verydoc.com/" C:\out.pdf

Now let us check related parameters about adding watermark.
-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"

Please check more parameters in readme.txt file as I can not list all of them here. 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 PDF from doc2any website
                  This is from Doc to Any Website.

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

Office to PCL Command Line Converter

    When you need to convert Office files, OpenOffice file to PCL by command line, this article will be helpful for you. Here the software I use is named as VeryDOC DOC to Any Converter, which also can be used to convert Office file to PCL and add watermark in various aspects. If you need to know more about this software, please visit its homepage. In the following part, I will show you how to convert Office file to PCL through command line.

Step 1. Download Office to PCL Converter

  • When downloading finishes, there will be a zip file, which has been compressed for easy downloading and uploading. Please unzip file and then you can find the executable file, help documents, examples and all you need as command line software.
  • Please note now this software only can work under Windows system both 32-bit and 64-bit. If you need to use Mac, or Linux version, please contact us.

Step 2. Convert Office file to PCL

  • Here is the usage for your reference: DOC2Any [options] <in-file> [<out-file>]
  • When you need to convert Office file to PCL, please refer to the following command line templates.

    doc2any.exe C:\in.doc C:\out.pcl
    doc2any.exe C:\in.ppt C:\out.pcl
    doc2any.exe C:\in.xls C:\out.pcl
    doc2any.exe C:\in.docx C:\out.pcl
    doc2any.exe C:\in.pptx C:\out.pcl
    doc2any.exe C:\in.xlsx C:\out.pcl
    doc2any.exe C:\*.doc C:\*.pcl

When converting OpenOffice file to pcl, simply change the input file format. During the conversion, there is no limit of input file language as it supports English, French, German, Italian, Chinese Simplified, Chinese Traditional, Czech, Danish,
Dutch, Japanese, Korean, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Thai, etc. languages.  There are also some parameters available when output is PCL file format, please have a check.

-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
-resetofficeview         : Reset Office View type to wdPrintView
-checkpwd                : Check if MS Word document contains an open password
-noretry                 : Don't try to re-convert failed office documents
-rotate <int>            : Rotate pages, 90, 180, 270
  -margin <string>         : Set page margin to PDF file
    -margin 10         : Set margin to 10pt to left
    -margin 10x10      : Set margin to 10pt to left,top
    -margin 10x10x10   : Set margin to 10pt to left,top,right
    -margin 10x10x10x10: Set margin to 10pt to left,top,right,bottom

Here are some examples for your reference.
doc2any.exe -useprinter -xres 300 -yres 300  "C:\in.doc" "C:\out.pcl"
doc2any.exe -useoffice 1 -useprinter -showofficeui "C:\in.doc" "C:\out.pcl"
doc2any.exe -useprinter -useoffice 1 -showofficeui -delay 10000 -resetofficeview -debug "C:\in.doc" "C:\out.pcl"
This software allows you to convert doc file to PCL without Office Installed.

As there are too many to be listed here.  If you need to know more, please visit readme.txt. During the conversion, 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)