Using docbatch
The operation of the Creo View Adapter for PDF involves utilizing a single command to publish documents.
The form of command line is as follows:
docbatch [options] <documents>
For a list of command line options, refer to docbatch Command Line Options.
A command line conversion has the following stages:
1. Open a command prompt and navigate to the directory containing the document you want to convert.
For the purposes of this example, the directory is C:\\doc_data\\.
2. Type in the docbatch command, for example:
C:\ptc\doc_setup\docbatch -p output doctest.doc
In this example, the command line can be broken down in order from left to right as follows:
a. The setup directory containing the adapter configuration, followed by the command to convert the data:
C:\ptc\doc_setup\docbatch
b. Option -p <output path> is shown as output. This is the name of the directory where the converted data appears.
c. The document to be converted is named doctest.doc.
3. Press ENTER and docbatch is launched. When the command prompt returns, the conversion is complete.
|
docbatch can publish more than one document at a time. To publish a list of documents, type all of the names on the command line, separated by spaces. You can also use wildcards (asterisks *) if you are confident that the data returned will be correct.
|
4. Open the converted data output in the Creo View client.
This completes the procedure for converting document files to PDF format using command line publishing.