|
WordToPDF Pro – Batch call
The call through the command line presents itself easy:
WordToPDF_Pro.exe [Options] source files
The command line is always evaluated in its whole. If you wish to convert
documents with different options, you need to repeat this procedure accordingly
often. The given options are not permanent and only apply to this particular
procedure. If no options are given the settings of the latest start of WordProPDF Pro apply.
The use of capital and small letters with parameters is ignored. The
transfer of terms with blanks and special characters has to be put in
between ".
Since often there are problems with too long command lines, it is also
possible to name files that contain the respective parameters. In order
to do that you simply put a @ in front of the parameter file.
| Parameter |
Description |
Example |
| -Permanent |
The settings committed here are saved permanently. |
-Permanent |
| -PapercmW:??,? |
The width of the paper format in cm.
This option should only be used together with PaperCmH. |
-PapercmW:21,0 |
| -PaperCmH:??,? |
The height of the paper format in cm.
This option should only be used together with PaperCmW. |
-PaperCmH:29,7 |
| -PaperInW:??,? |
The width of the paper format in inch.
This option should only be used together with PaperInH. |
-PaperInW:8,3 |
| -PaperInH:??,? |
The height of the paper format in inch.
This option should only be used together with PaperInW. |
-PaperInH:11,7 |
| -PaperPxW:??,? |
The width of the paper format in points.
This option should only be used together with PaperPxH. |
-PaperPxW:595,0 |
| -PaperPxH:??,? |
The height of the paper format in points.
This option should only be used together with PaperPxW. |
-PaperPxH:842 |
| -Paper:xyz |
Here a paper format can be entered directly. The caption has to be found
in the paper format select box of the WordProPDF options. |
-Paper:a4 |
| -Printer:"xyz" |
Postscript printer driver |
-Printer:"Canon C LBP 460PS" |
| -Gs:"xyz" |
Complete path and file name of the
to be used installation of ghost script (gswin32c.exe). |
-Gs:"c:\gs\gs7.04\bin\gswin32c.exe" |
| -PsDir:"xyz" |
Path for temporary buffer storage of PS files that are created out of
Office. |
-PsDir:"C:\Temp\" |
| -UsePsDir:xyz |
Use the declared directory for buffer storage of PS files. |
-UsePsDir:Yes |
| -Format:xyz |
Sets format of result. Possible parameters are pdf, bmp, jpg,
tif and pcx. |
-Format:pdf |
| -OutDir:"xyz" |
Hand over the output directory for the created documents with "",
otherwise they are put into the input register. |
-OutDir:"C:\Pdf" |
| -PdfTitlePre:"xyz" |
Prefix for the document title of the created PDF documents. |
-PdfTitlePre:"Data backup: " |
| -PdfTitleSuf:"xyz" |
Suffix for the document title of the created PDF documents. |
-PdfTitleSuf:" - with WordToPDF" |
| -PdfTitleFix:"xyz" |
Fix document title of the PDF documents. |
-PdfTitleFix:"full title" |
| -PdfTitleDoc |
Document title of the PDF documents like the file name of the Office
documents. |
-PdfTitleDoc |
| -DateReplace |
Replace all DATE fields in
whole document with CREATEDATE or SAVEDATE fields. |
-DateReplace:Create |
| -TimeReplace |
Replace all TIME fields in
whole document with CREATEDATE or SAVEDATE fields. |
-TimeReplace:Save |
| -DeletePS:xyz |
Automatically delete the PS files created by WordToPDF Pro after conversion. |
-DeletePS:Yes |
| -RenamePS:xyz |
Automatically rename existing and already revised PS documents after
conversion. |
-RenamePS:No |
| -RenameDOC:xyz |
Automatically rename existing and already revised Office documents after
conversion. |
-RenameDOC:No |
| -OpenReadOnly:xyz |
Only open documents write-protected. That makes sense when files have
a write-protect password to avoid unnecessary input while converting. |
-OpenReadOnly:No |
| -Combine:xyz |
Combine all files in result to one file. |
-Combine:Yes |
| -TryOpen:xyz |
Allows to convert files on readonly directories (-TryOpen:No). |
-TryOpen:No |
-Regusername:"xyz"
-Reguserfirm:"xyz"
-Regusercode:"xyz" |
License WordToPDF Pro with the
respective user data. This procedure is always permanent. |
-Regusername:"Mario Noack"
-Reguserfirm:"private"
-Regusercode:"1234567890" |
Examples:
Example where all parameters were saved in one
file:
File c:\option.txt
-pdftitlepre:"Data backup: "
-pdftitlesuf:" - with WordToPDF"
"c:\Test.doc"
Call of WordToPDF Pro:
WordToPDF_Pro.exe @"c:\option.txt"
As a result the file Test.doc, which lies directly in Root on Drive C, is converted.
So far as WordToPDF Pro was configured before to put out PDF documents,
the document title is provided with the declared prefix and suffix.
In that case it is important that each parameter in the file is written on
one line!
Example with several files:
WordToPDF_Pro.exe -pdftitlefix:"invoice" -outdir:"" "c:\invoice\*.doc"
As a result all the doc-files from the declared register are converted
into exactly this one. All created PDF documents receive the title 'invoice'.
In case of questions, comments and suggestions please contact info@topdf.de.
|