Using doc2pv_config on Windows
The configuration of the Creo View Adapter for PDF is accomplished using the doc2pv_config tool.
1. Using Windows Explorer, browse to the <installation_directory>\bin directory. Double-click doc2pv_config. The Adapter for PDF Configuration dialog box opens.
2. If you have a prior configuration, you can use the Existing Configuration group to quickly and completely update that configuration to the latest version of the adapter. The Setup Directory field in this group allows you to specify the location of the previous configuration.
Once you browse to an existing setup directory, doc2pv_config automatically fills in all the required fields. Click Setup to automatically update your earlier version to the latest version.
|
If you prefer to test the new configuration before overwriting your existing version, you can change the Setup Directory location in the Parameters group. This saves the new configuration in a different location, preserving the existing version instead of overwriting it. Then, if you choose not to use the new configuration, you can return to the Existing Configuration Setup Directory, which acts as a backup. When you are satisfied that the new version is working in your location, you can overwrite the old version with the new one.
|
3. Use the Parameters group settings in the Adapter for PDF Configuration dialog box to specify configuration settings for the adapter. This allows you to specify the way your system locates and starts Documents for publishing purposes. The Parameters group includes these fields:
a. Client/Server Version
In the Client/Server Version drop-down list, you specify the client/server version number. This version should match your Creo View client and/or Visualization server. Setting the version incorrectly can cause problems with your Creo View client and/or Visualization server.
b. Setup Directory
doc2pv_config configures the adapter to run from the setup directory that you specify. Using different setup directories allows you to have multiple adapter configurations available to address different visualization requirements.
To specify the setup directory, you can use the folder icon
to the right of the
Setup Directory field in the
Adapter for PDF Configuration dialog box. This displays the
Select a Setup Directory dialog box. Browse to a
<setup_directory> location, or you can type the path in the
Directory field.
Click OK after selecting the setup directory. You are returned to the Adapter for PDF Configuration dialog box, as shown in the previous figure, to make further configuration selections.
c. Use AEM Server
To use AEM for document conversion, check Adobe Experience Manager Server Details, and then fill in the fields that follow. The default is checked.
▪ Server Host—Location of AEM.
| For SSL configuration, the host name should be in the format: https://[host name]. |
▪ Server Port—Do not change the port number that appears.
| For SSL configuration, the port number should be 8443. |
▪ User Name—Enter the user name you used for the AEM production license.
▪ Password—Enter the password you used for the AEM production license.
▪ Enable Reader Extensions—Select to enable reader extensions.
▪ ReaderExtension Credential alias—Enter the credential alias that you used for User defined name for this credential while installing AEM.
To use the adapter’s Microsoft Office installation to create the PDFs, follow these steps:
a. Clear Adobe Experience Manager Server Details.
b. Launch the Recipe Editor.
c. On the > recipe tab, check Enable Office publishing for the Use Office for PDF option.
4. Use the Components group settings in the Adapter for PDF Configuration dialog box to define the publishing components to configure and the way your system locates the Visualization server host and port. The Components group box includes these fields:
a. Create docbatch
Enable this setting to run in batch mode from the command line.
b. Create docworker
Enable this setting to run in worker mode. Selecting this setting enables the host and port settings.
a. Server Host
The Server Host is the name of the server on which the Visualization server is running. The worker may run on a different server than the Visualization server.
b. Server Port
The Server Port defines the port to be used when connecting to the Worker Agent on the server host. The port number should match the Port setting defined in the configuration of the Worker Agent.
c. Test Server
After you specify the server host and port, you can click the Test Server button to validate the machine name, port number, and worker availability, and verify that it can connect to the Worker Agent at that location. A Server Configuration Test window displays the following results:
▪ Worker Type
▪ Server
▪ Port
▪ Test Connection to Server—Opens the Server Configuration Test dialog box. If the test result shows Succeeded or Failed, and the resulting message commences with Set keepalive ok, then click Ok to continue the setup.
5. Click Setup to generate the configuration. The Setup Complete dialog box appears.
6. Click OK to continue.
7. After you set up the configuration, you can click Recipe Editor to edit the recipe file for this configuration.
| Changes to the recipe file should only be performed by advanced users. |
8. Click Exit and a prompt appears. Click Yes to confirm that you want to exit.