DocTo/pages/all/ConvertDocToFileLogL9PDF.md

1.1 KiB

{ "title" : "How do I get log out put when converting a file ? " }

How do I get log out put when converting a file ?

When doing a conversion, it is useful to output log info.

Here we set the log level to 9 which is defined as 'Debug' which can be explained as Some extra information above chatty

Command Line

docto -WD -f 'c:\path\Document.doc' -o 'c:\path\Document.PDF' -t wdFormatPDF -L 9

or easier to read

docto -WD  -f 'c:\path\Document.doc' 
           -o 'c:\path\Document.PDF' 
           -t wdFormatPDF 
           -L 9

Command Line Explained

  • -WD : This is a conversion using Microsoft Word.
  • -f : The File or directory to be converted
  • -o : The Output File or Directory where you would like the converted file to be written to.
  • -T : The file format type that is being converted to
  • -L : Set output Log level.

O

Some other interesting commands

You might find some of the following commands also interesting.