setReportPrinter

Override the printer configuration used for report generation for the current application.

Syntax

ui.Interface.frontCall("standard", "setReportPrinter",
  [printer], [result])
  1. printer - A string describing the printer to use for report generation (see Usage for details).
  2. result - Holds the execution result (TRUE=success, FALSE=error).

Usage

The "setReportPrinter" front call allows you to override the printer configuration used for report generation for the current application. You can simply copy/paste the printer string from the "Report To Printer" printer panel from GDC Monitor. An empty or null string reset to the default behavior.

The printer parameter is a string that describe the printer to use for report generation. For example: "moliere, Portrait, A4, 96 dpi, 1 copy, Ascendent, Color, Auto". Alternatively, you can specify "<ASK_ONCE>" , "<ASK_ALWAYS>" , "<USER_DEFINED>" or "<USE_DEFAULT>" " which will perform the corresponding actions.