Convert Word files to PDF and print PDFs from the command line

Home › Forums › PDF24 Creator › Convert Word files to PDF and print PDFs from the command line

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4375
    PDF24
    Guest

    could i use batch to print word document to convert it to PDF

    the question is how can i convert word document (*.doc) to PDF (*.pdf) via CMD

    I need To tun A batch to convert group of (.doc) to PDF

    The batch is written by cmd

    #4376
    Anonymous
    Guest

    Hi, you can use the pdf24 doctool. Start the app on the command line. Then you will get the command line information of this tool.

    The tool itself can do what you want. Just read the command line info and execute the doctool the right way.

    #4377
    Anonymous
    Guest

    QUIERO IMPRIMIR UN ARCHIVO PDF EN LINEA DE COMANDO SIN VERLO POR PANTALLA

    #66159
    PDF24 Support
    Moderator

    Hello,

    for today's readers:

    Converting Word files to PDF from a batch file works with pdf24-DocTool.exe from the PDF24 installation folder:

    pdf24-DocTool.exe -convertToPDF -outputDir dir file1 file2 ...

    Word files are converted with Microsoft Word if it is installed. With -expandDirs and -includeFileExtensions .doc,.docx you can also pass a whole folder. All options are described in the manual: https://creator.pdf24.org/manual/11/#11110-convert-to-pdf

    For a single file, this also works online: https://tools.pdf24.org/en/word-to-pdf

    Printing a PDF from the command line without a print dialog works with the PDF24 Reader:

    pdf24-Reader.exe /printTo "printer name" "file.pdf"

    /print instead of /printTo "printer name" prints on the Windows default printer. In the current version an empty Reader window may appear while printing. With the next version, only the print progress is shown. Description: https://creator.pdf24.org/manual/11/#121-command-line

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.