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)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!