guides:programming:programmers_reference_manual:collate_set_printer_message

COLLATE Set_Printer Message

The COLLATE message is used to set the collate property for the current report. Always check the return code from the COLLATE message for errors, because not all printers support this feature.

ParameterDescription of FieldsCommentsDefault
Parm1 - COLLATE<1> Collate0=No collate
1=Collate
0

The following example shows how to use the COLLATE message.

declare function Set_Printer
stat = Set_Printer("INIT") ;* Start printing
stat = Set_Printer("COLLATE", 1) ;* collate output
if stat < 0 then
goto ErrorHandler ;* not supported
end
stat = Set_Printer("TERM") ;* End printing
  • guides/programming/programmers_reference_manual/collate_set_printer_message.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1