Partners Contact US Site Map Blog
A professional PDF Converter, PDF Writer, PDF Creator, PDF Editor, HTML Converter, Postscript Converter, AutoCAD DWG Converter, as well as PCL Converter, etc.  

VeryDOC DOC to Any Converter

Command Line options in VeryDOC DOC to Any Converter product,
 
Web: http://www.verydoc.com
Email: support@verydoc.com
 
C:\>doc2any.exe
Convert *.DOC, *.DOCX, *.RTF, *.TXT, *.PPT, *.PPTX, *.XLS, *.XLSX files to PDF,
PS, EPS, SVG, SWF, XPS, HPGL, PCL, TIF, PNG, JPG, BMP, GIF, TGA, PCX, EMF, WMF,
etc. formats
Usage: DOC2Any [options] <in-file> [<out-file>]
-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
-width <int>    : Set page width to PDF file
-height <int>   : Set page height to PDF file
-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)
-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
-view                  : View PDF file after creation
-append <int> :
    -append 0          : Overwrite if PDF file exists
    -append 1          : Insert before first page if PDF file exists
    -append 2          : Append to last page if PDF file exists
    -append 3          : Rename filename if PDF file exists
-producer <string>     : Set 'producer' to PDF file
-creator <string>      : Set 'creator' to PDF file
-subject <string>      : Set 'subject' to PDF file
-title <string>        : Set 'title' to PDF file
-author <string>       : Set 'author' to PDF file
-keywords <string>     : Set 'keywords' to PDF file
-openpwd <string>      : Set 'open password' to PDF file
-ownerpwd <string>     : Set 'owner password' to PDF file
-keylen <int>          : Key length (40 or 128 bit)
    -keylen 0: 40 bit RC4 encryption (Acrobat 3 or higher)
    -keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher)
    -keylen 2: 128 bit RC4 encryption (Acrobat 6 or higher)
-encryption <int>      : Restrictions
    -encryption    0   : Encrypt the file only
    -encryption 3900   : Deny anything
    -encryption    4   : Deny printing
    -encryption    8   : Deny modification of contents
    -encryption   16   : Deny copying of contents
    -encryption   32   : No commenting
    ===128 bit encryption only -> ignored if 40 bit encryption is used
    -encryption  256   : Deny FillInFormFields
    -encryption  512   : Deny ExtractObj
    -encryption 1024   : Deny Assemble
    -encryption 2048   : Disable high res. printing
    -encryption 4096   : Do not encrypt metadata
-unicode               : Enable Unicode conversion
-noempty               : Delete empty pages from PDF file
-wtext <string>        : watermark on printed document
-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"
-walign <int>          : set text align
    1 : left
    2 : center
    3 : right
-wc <string>           : color of watermark,
    FF0000: Red color
    00FF00: Green color
    0000FF: Blue color
    HexNum: Other colors
-wx <int>              : X offset of watermark
-wy <int>              : Y offset of watermark
-svgnoclip             : remove clipping during SVG output
-log <string>          : output log into a file
-v                     : Print copyright and version info
-h                     : Print usage information
-help                  : Print usage information
--help                 : Print usage information
-?                     : Print usage information
-$ <string>            : Input registration key
Example:
doc2any.exe C:\in.doc C:\out.pdf
doc2any.exe C:\in.ppt C:\out.pdf
doc2any.exe C:\in.xls C:\out.pdf
doc2any.exe C:\in.docx C:\out.pdf
doc2any.exe C:\in.pptx C:\out.pdf
doc2any.exe C:\in.xlsx C:\out.pdf
doc2any.exe C:\*.doc C:\*.pdf
doc2any.exe -margin 100x100x100x100 C:\in.rtf C:\out.pdf
doc2any.exe -append 2 -width 612 -height 792 C:\*.doc C:\out.pdf
doc2any.exe -append 2 C:\*.doc C:\out.pdf
doc2any.exe -width 612 -height 792 C:\in.doc C:\out.pdf
doc2any.exe -append 1 C:\in.doc C:\out.pdf
doc2any.exe -append 2 C:\in.doc C:\out.pdf
doc2any.exe -subject "subject" C:\in.doc C:\out.pdf
doc2any.exe -ownerpwd 123 -keylen 2 -encryption 3900 C:\in.doc C:\out.pdf
doc2any.exe "C:\in.doc" C:\out.gif
doc2any.exe "C:\in.doc" C:\out.png
doc2any.exe -useprinter -xres 300 -yres 300 -bitcount 1 -compression 4 "C:\in.doc" "C:\out.tif"

Add watermarks into PDF files:
doc2any.exe -wtext "VeryPDF" "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wc "0000FF" "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wx 100 -wy 100 "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wtype 1 "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wtype 2 "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wtype 0 -wa 45 "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wf "Arial" "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wf "Arial" -wh 20 "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wf "Arial" -wh 20 -wb -wi -wu -ws "C:\in.doc" C:\out.pdf
doc2any.exe -wtext "VeryPDF" -wf "Arial" -walign 3 -wh 20 -wbox "0,770,612,792" "C:\in.doc" C:\out.pdf
 
See Also:
PDF to Image Converter :: PDF Extract TIFF :: HTML Converter :: PDFcamp Printer :: DocConverter COM :: PDF to Word Converter :: PDF to Text Converter :: Image to PDF Converter :: Image to PDF OCR :: PDF to HTML Converter :: AutoCAD DWG and DXF to PDF Converter :: PCL to PDF Converter :: Document Printer (docPrint) :: VeryPDF PDF Editor :: PDF Password Remover :: Encrypt PDF :: PDF Split-Merge :: PDF Stamper :: VeryPDF PDFPrint :: Advanced PDF Tools :: PDF Editor Toolkit :: Text to PDF Converter :: PowerPoint to Flash :: PowerPoint Converter

Home | Site Map | VeryPDF.com | VeryPCL.com | Contact | Blog
Copyright © 2002- VeryDOC.com Company. All Rights Reserved.