guides:programming:programmers_reference_manual:control_set_printer_message

CONTROL Set_Printer Message

The CONTROL message is used to set miscellaneous properties for printing. If the First Page Header or Footer is set, then this header or footer is only printed on the first page and the remaining pages use the header and footer that is set with the HEADER and FOOTER messages. The First Page Header and Footer are printed with the First Page Font, if it is specified.

Parameter
Description of Fields
Comments
Default
Parm1 -

ControlInfo
<1> TimeOut
NOT USED
""

<2> Intercolumn
NOT USED
Parm2 -

First Page Header
<1> First Page Header
Header for the first page
""
Parm3 -

First Page Footer
<1> First Page Footer
Footer for the first page
""
Parm4 -

First Page Font
<1> FontInfo
Same structure as the FONT message
""
* The following example shows how to use the CONTROL message to set the first page header and footer.
declare function Set_Printer
stat = Set_Printer("INIT") ;* Start printing
stat = Set_Printer("CONTROL", "", "First Head", "First Foot", "Times New Roman":@FM:18)
stat = Set_Printer("TEXT", "Test 1 2 3")
stat = Set_Printer("TERM") ;* End printing
 
 
  • guides/programming/programmers_reference_manual/control_set_printer_message.txt
  • Last modified: 2024/10/14 18:18
  • by 127.0.0.1