SetPrinterType method: ReportDefn class

Syntax

SetPrinterType(OutDestFormat)

Description

Use the SetPrinterType method to set the printer type when using the PrintOutput method. If you don’t set the printer type before invoking PrintOutput, the default value of PDF is used.

Parameters

Parameter Description

OutDestFormat

Specify the printer type as a String value:

  • "PDF“

  • "PCL“

  • "PS“

Returns

None.