Applies To:
  • CitectSCADA 7.0

Summary:

WinPrint( ) and FilePrint( ) functions need to preset printer ports and does not allow us to configure printing options.

 

Solution:

Use FormSelectPrinter( ) function to return a handle which is the printer port name and brings a popup window which allows us to change printer settings.
This function can be used separately or in combination with other print functions:

Separately:

stringPrinter=FormSelectPrinter( );

WinPrint (stringPrinter, 0,0,0);

or

WinPrint((FormSelectPrinter()),0,0,0);

This can be used to generate PDF screenshots of runtime window by selecting CutePDF Writer as the printer.

 

Keywords:
 

Attachments