Configuring Post Composition Operations
The Post Composition Operations feature allows you to apply operations on print files after they are composed. For example, you can apply post composition operations to compress the output, or to copy it to a network shared folder. Post composition operations can be chained, allowing multiple operations to be carried out.
When admin users log into the uProduce dashboard, they can click the Settings tab on the toolbar to get the list of settings on the left, and then click the Post Composition Operation settings. This is where you create new post composition operations, or edit the settings of existing operations.
Note that by default, non-admin users will be able to see, but not create or edit post composition operations. However, it is possible for the admin user to change the AllowNonAdminManagePostCompositionOperations setting to true to allow all dashboard users to create and edit post composition operations.
Create Post Composition Operations
-
On the Post Composition Operations setting page, click the New button.
-
Name: Enter a descriptive name for the operation, so that when users are processing jobs and selecting Post Composition Operations, the function of the operation will be clear.
-
Type: Select the type of operation you want to perform:
-
Compress Output Files: Select how to compress the print output file.
-
Copy Output Files to Network Path: Define a network path as the destination for your production output.
-
Copy Output Files to FTP(S) Location: Select an FTP path as the target destination for your production output. For example, ftp://server:21/folder.
-
Copy Output Files to AWS S3: Select AWS S3 as the target destination for your production output.
-
Delete Output Files: Remove the output files from the uProduce server after they are copied to another location.
-
Copy Output Files to SFTP Location: Select an SFTP path as the target destination for your production output. For example, sftp://server:22/remote/path/to/directory.
-
Create Job Definition (JDF) File: Create a JDF file using an eXtensible Stylesheet Language Transformation to format the XML JDF file.
-
-
Settings: Depending on the operation selected, the available settings will change so you can configure the operation.
Compress Output Files
-
Compression Level: Select Optimal, Fastest or No compression.
Copy Output Files to Network Path
-
Network Path: The network path to copy the files to. For example: "C:\path\" or \\server\share\path
-
Sub Folder: You can select to automatically create a subfolder in the network path and name it via the uProduce Job ID, or the current date time. If you select to create a subfolder, you will be able to customize the folder name using the format field and standard string formatting features. For example, for the Job ID, you can enter any static text string together with 0 or # placeholders for the Job ID. (0 will force a zero to display even if it is not required. # will display only if there is a number relevant.) If the Job ID is 1234 and Format is Job-000000000 the sub folder created will be Job-000001234.
-
Network Path Requires Authentication: If needed, you can select this box to display fields to enter the required username and password for the shared folder.
-
Available in Accounts: By default, post composition operations are available in all uProduce accounts. By expanding this setting, you can change to Specific Accounts which will display a list of accounts on your server. You can then select the accounts where your new post composition operation will be available.
Copy Output Files to FTP(S) Location
-
Ftp Url: The FTP path to copy the files to. For example, ftp://server:21/folder.
-
Sub Folder: You can select to automatically create a subfolder in the FTP location and name it via the uProduce Job ID, or the current date time. If you select to create a subfolder, you will be able to customize the folder name using the format field and standard string formatting features. For example, for the Job ID, you can enter any static text string together with 0 or # placeholders for the Job ID. (0 will force a zero to display even if it is not required. # will display only if there is a number relevant.) If the Job ID is 1234 and Format is Job-000000000 the sub folder created will be Job-000001234.
-
Use Passive: Select to use Passive FTP mode. Otherwise, Active will be used by default.
-
Enable Ssl: Select to enable FTP with SSL (also called FTPS). Note that this is not SFTP.
-
Ftp Requires Authentication: This option is selected by default so you can enter the FTP username and password of a user who has write permission. You can clear the checkbox if authentication is not required.
-
Available in Accounts: By default, post composition operations are available in all uProduce accounts. By expanding this setting, you can change to Specific Accounts which will display a list of accounts on your server. You can then select the accounts where your new post composition operation will be available.
Copy Output Files to AWS S3
-
Access Key: The access key for your S3 Bucket.
-
Secret Key: The secret key for your S3 Bucket.
-
Region: Select your AWS region from the list.
-
Bucket Name: Enter your S3 Bucket name
-
Bucket Base Folder: Enter the folder path where you want the output files copied.
-
Sub Folder: You can select to automatically create a subfolder in the network path and name it via the uProduce Job ID, or the current date time. If you select to create a subfolder, you will be able to customize the folder name using the format field and standard string formatting features. For example, for the Job ID, you can enter any static text string together with 0 or # placeholders for the Job ID. (0 will force a zero to display even if it is not required. # will display only if there is a number relevant.) If the Job ID is 1234 and Format is Job-000000000 the sub folder created will be Job-000001234.
-
Available in Accounts: By default, post composition operations are available in all uProduce accounts. By expanding this setting, you can change to Specific Accounts which will display a list of accounts on your server. You can then select the accounts where your new post composition Operation will be available.
Delete Output Files
There are no settings required to delete output files. This option is designed to save disk space by removing the output files from the uProduce server after they are copied to another location. If you delete files from the uProduce server, they will not be available to download from the dashboard’s Job Center.
Copy Files to SFTP Location
-
SFTP Uri: The SFTP path to copy the files to. For example, sftp://server:22/remote/path/to/directory.
-
Sub Folder: You can select to automatically create a subfolder in the SFTP location and name it via the uProduce Job ID, or the current date time. If you select to create a subfolder, you will be able to customize the folder name using the format field and standard string formatting features. For example, for the Job ID, you can enter any static text string together with 0 or # placeholders for the Job ID. (0 will force a zero to display even if it is not required. # will display only if there is a number relevant.) If the Job ID is 1234 and Format is Job-000000000 the sub folder created will be Job-000001234.
-
Username: The name of a user with write permissions to the SFTP location.
-
Password/Private Key File: The post composition operation can authenticate to the SFTP server with either a password or private key file. First, use the dropdown list to select the authentication option you want to use, then enter the password or select and upload the private key file.
Create Job Description (JDF) File
-
JDF XSLT: The post composition operation for JDF uses an eXtensible Stylesheet Language Transformation to format the XML JDF file. The XSLT can be typed or pasted into the area provided.
To help you quickly get a sample XSLT to edit, XMPie provides a link to “load example xslt” which will insert a default XSLT template that will format the JDF with the same structure that the legacy JDF feature creates.
To create the JDF from the XSLT, the uProduce server creates an XML file with details of the job being processed. The XSLT template includes placeholders that can transform the values in the XML. For example, {./@Name} in the XSLT template will be replaced with the document name from the Name attribute of the JobDetails XML node.
-