Printing a Dynamic Document

Use

At runtime you can also print a document, instead of displaying it. To relink containers, use the print_document method.

Prerequisites

You must already have created and merged the dynamic document with method merge_document.

Procedure

Printing a Document Without Displaying It

  1. Create and merge the document as normal and include the document element with method merge_document.

  2. Call the method print_document.

Displaying and Printing a Document

  1. Create and merge the document as normal and include the document element with method merge_document.

  2. Display the document.

  3. Either directly afterwards, or in response to a user action, call the method print_document.