Printing panels

There are several options (in addition to the standard print icon of the WinCC OA icon bar) for printing panels in WinCC OA.

Printing panels

You can use the CTRL function printPanel(). If no printer name is specified when using this function, then printing is carried out on the default printer defined at the operating system level.

Example

The following example prints a panel on the default printer without showing the print dialog.

printPanel(myModuleName(),myPanelName(),"",FALSE);

Example

The following example shows the print dialog so that you can select the printer.

printPanel(myModuleName(),myPanelName(),"",TRUE);

Printing lists (tables)

Use the function printTable(). You can specify different settings like landscape format etc. See chapter printTable() for details.

Printing a panel in silentMode

You can also print panels in the background. A separate UI is opened for this with the relevant parameters. see chapter Reporting with panels (silent Mode).