Printing a Dynamic Document

Use

At runtime, you can print a dynamic document instead of displaying it by using the print_document method.

Prerequisites

You must already have created and merged the dynamic document.

Procedure

Printing a Document Without Displaying It

  1. Create and merge the document as normal
  2. Call the method print_document .

Displaying and Printing a Document

  1. Create and merge the document as normal
  2. Display the document
  3. Either directly afterwards, or in response to a user action, call the method print_document .

If you print a dynamic document that is already displayed on the screen, set the reuse_control parameter of the print_document method to 'X'.

See also:

print_document