Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The TERM message is used to end a printing session. The TERM message is required to close the printing job, destroy the printing dialog box, and clean up resources. If the Print Preview window is visible, then the TERM message finishes the printing and activates the Print Preview window. All of the information that was set with the Set_Printer() function (fonts, headers, footers, and column information) will be reset. The INIT and TERM messages may be called multiple times to print several separate reports, but make sure there is a TERM message for every INIT message. Only one printing session can be open at a time, therefore each INIT message must have a matching TERM message before another printing session is started.

...