Using the Tab Style Page Templates > Tab Style Template Reference > Tab Style Template Functions > PagePrint


Execute a custom Cicode function to print the currently displayed page. The custom Cicode function is either defined in page environment variable "PrintPage" or Citect.INI / project parameter [Page] PrintPage. If custom Cicode function is not defined, a Select Printer dialog will pop-up and a screenshot of the currently displayed page will be sent to the selected printer. The print command is defined in the format of: ?Cicode_fn comma_separated_argument_list e.g. ?WinPrint LPT1:,0,0



Return Value

Zero (0) if function is executed successfully, otherwise error code is returned.

Related Functions


See Also

Tab Template Functions