Job.setPrinterType method

setPrinterType

void setPrinterType(EPrinterType printerType)

Referenced types: EPrinterType

Sets the type of the generated output.

For file output, use setPrinterType to select the format and setOutputName to specify the filename. For printer output, select the printer with setPrinterName; on Windows, setOutputName can additionally specify the spool-job name.

As an alternative, you can also use setPrinterName with optional output-format prefixes.
An output-format prefix in setPrinterName implicitly selects the output type; a file-output prefix also sets the filename. See Printing and Export for how these settings interact.

Parameters

Parameter / typeDescription
printerTypeEPrinterType

The type of the generated output (PrinterType).

Search documentation

Search in
More scopes
Additional scopes

All contents