Overview

You can use the priint:comet pdf renderer for rendering pages, exporting PDF documents, create previews and several more rendering tasks.
Connecting publishing server with priint:comet pdf renderer requires some additional setup steps, which are described in this document.

Installation hints for priint:pdf renderer

Requirements

These are the minimal versions required to use priint:pdf renderer with the publishing server:

Basic Installation

Please follow the installation instruction delivered with your priint:pdf renderer release. This contains detailed information about licensing, configuring fonts and pdf presets ("joboptions") and additional requirements.

For a quick test ater installation, you can just open a terminal or a command prompt, change into the installation directory and type

comet_pdf -s hello

If the basic installation works, this will generate a PDF welcome page and open the system default PDF viewer.

System privileges

Please make sure, that the Java Application Server user (service account or local system account) can access the priint:pdf renderer installation directory. Minimal requirement is read the directory content and run the comet_pdf.exe resp. comet_pdf programm.

Depending on the path configuration (see below), you may also have to grant write privileges on this directory (or subdirectories) to this user.

Connecting publishing server to priint:pdf renderer instances

To use the priint:pdf renderer with the publishing server, it first must be configured in the comet_admin database resp. priint:suite administration console.

During installation, you can choose whether to support priint:pdf renderer or not, and choose the number of instances, installation path etc. You can change this configuration later, however some of these settings can only be edited directly in the database and will require a server restart.

Basic configuration

The priint:pdf renderer instances need to connect back to the publishing server (actually to the Comet3 WebService provided by the CometBridge PubServer Plugin), this is a SOAP over HTTP connection.

The callback address and credentials can be configured in priint:suite > Administration > Preferences > AdminDB property.

Furthermore, you can configure some basic settings for all priint.pdf renderers connected to the publishing server.

Settings in this panel:

Note: the latter two settings will most probably be obsolete in the final 4.1 Release. Handling of heterogenous document types is currently being developed, in later versions this will not require any extra configuration.

Note II: by setting Check Renderer File Type to true and configuring both priint:pdf renderer and InDesignServer instances, you can process different document types on the same server at the same time. The alpha and beta Releases of the 4.1 version only support one document type - either InDesign® or W2ML - at the same time, so using different document types is an inofficial feature, which might help you in certain situation, but is not suppoerted by Werk II.

basic configuration

priint:pdf renderer configuration

There should be at least two preconfigured server entries in the priint:suite > Administration > Preferences > AdminDB property > Indesign servers node. Actually we do not configure physical servers here, but only server types (LOCAL, REMOTE). For PDF Renderer, we need a third entry with type PDFRENDERER.

You can check, which server types are configured in the indesignserver table in the comet_admin database (e.g. using MySQL Workbench, Microsoft SQL Server Management Studio or similar tools).

SELECT * FROM comet_admin.indesignserver;
should output something like
+----------+----------------+----------------+
| SERVERID | SERVERNAME     | SERVERPROTOCOL | 
+----------+----------------+----------------+
| 2        | Remote Server  | REMOTE         |
| 3        | Offline Server | COMETOFFLINE   |
| 4        | PDF Renderer   | PDFRENDERER    |
+----------+----------------+----------------+
If the PDFRENDERER entry is missing, add it, e.g. using this SQL statement:
INSERT INTO comet_admin.indesignserver (SERVERID, SERVERNAME, SERVERPROTOCOL) 
    VALUES (4, 'PDF Renderer', 'PDFRENDERER');
You must restart glassfish / publishing servers to see the changes.