Calling convention: CIP_PrintCurDBFormToPrinter("PrinterPackName": String, UseHeaderFooter: Boolean, ["HeaderText": String])
Description: Directly prints the current database form using the selected printer pack. This function is deprecated; use OEE_PrintDBReport for new scripts.
Parameters:
PrinterPackName = Printer-pack name defining the target printer and page settings.
UseHeaderFooter = Enables the report header and footer.
HeaderText = Optional header text, used only when UseHeaderFooter is True.
Returns: No value. Missing form, NULL or unknown printer pack, and printing errors raise an exception.
Availability: Legacy desktop printing environment with a current database form and configured printer pack.
Example:
CIP_PrintCurDBFormToPrinter("Office Printer", True, "Production report");