PrintEvents method (AlarmSummary object)

Prints the current page of events, or all events. By default, prints only the current page of events.
Syntax
object
.
PrintEvents
([
PrintRange
as
ftasPrintRangeConstants
], [
ShowPrintDialog
as
Boolean
])
where
object
the name of an AlarmEventSummary object.
PrintRange
optional parameter that controls whether only the current page of events is printed, or all events are printed. The default is to print the current page.
ShowPrintDialog
—optional parameter that controls whether the Windows
Print
dialog is displayed before printing begins. The default is to show the Windows
Print
dialog.
  • TRUE
    . The default value is TRUE. If ShowPrintDialog = TRUE, then a Windows
    Print
    dialog opens and offers users the print range options of 'Current Page' and 'All'.
  • FALSE
    . If ShowPrintDialog = FALSE, then the Windows
    Print
    dialog is NOT displayed before printing begins. The print range matches the value of the PrintRange parameter. Events print to the last printer that was selected; if there is no last printer selected, then the events print to the default printer.
Possible errors
  • ftasErrorInvalidParmValue
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal