Output as Postscript (Swift)

Set up and configure output to Postscript from your reporting application. Postscript files allow for archiving and dialog printing. Silent printing depends on the availability of operating system printing commands such as lp.

To output your report as a postscript file, specify Postscript in the selectDevice() function.

let rcPtr = createRuntimeConfiguration(reportDesignFileName)
selectDevice (rcPtr, Postscript)

The report file will be written to the current working directory, unless you specify another location through the use of environment variables or by using the C API within your Swift application.

Device-specific configuration functions

There are no device-specific configuration functions for a Postscript output.

For the full list of available functions, refer to the Genero Report Writer C API documentation.