Ancillary Outputs (Post-Processing)

Ancillary Outputs are post-processing steps applied to assembled documents after the document is rendered. They are applied on a request to generate documents (and apply to all documents generated as part of the request) or as part of a DocumentSet object to apply the instructions to each specific document generated as part of the request.

PostProcess is invoked to apply watermarks and barcodes, merge, and encrypt by placing the resulting DocSet into a PostProcess request and adding the AncillaryOutputOption elements with Watermark, Barcode, and SetEncryption nodes.

The AncillaryOutputOption is submitted in the Generate, SelectAndGenerate, SelectGenerateAndSave, and AssembleDocumentSet operations to apply to all documents generated. It is submitted as part of the DocumentSet in the Generate, GenerateAndSave, and AssembleDocuments operations to apply on a document-by-document basis. To apply multiple post-processing events to a document or document set, you must submit a unique AncillaryOutputOption object on the request (so that a single request might contain multiple AncillaryOutputOption objects. In addition to submitting post-processing instructions on a request that also generates documents (described above), you can use the PostProcess operation to submit a document (using DocumentSet or DocSet) that has already been assembled.

This is a visual representation of the AncillaryOutputOption.



There are eight supported post-processing events (ancillary outputs) available that can be applied to a document (or collection of documents) after each has been assembled and generated. These are applied to the output PDF file after the document is assembled and generated. To define a post-processing event, you must pass the value in the request on the OutputType object. These include: