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
-
Create and merge the document as normal and include the document element with method merge_document.
-
Call the method print_document.
Displaying and Printing a Document
-
Create and merge the document as normal and include the document element with method merge_document.
-
Display the document.
-
Either directly afterwards, or in response to a user action, call the method print_document.