Method GTK2.SourcePrintJob()->set_header_format()
- Method set_header_format
GTK2.SourcePrintJob
set_header_format(string
|void
left
,string
|void
center
,string
|void
right
,int
separator
)- Description
Sets strftime like header format strings, to be printed on the left, center and right of the top of each page. The strings may include strftime(3) codes which will be expanded at print time. All strftime() codes are accepted, with the addition of N for the page number and Q for the page count.
separator specifies if a solid line should be drawn to separate the header from the document text.
If 0 is given for any of the three arguments, that particular string will not be printed. For the header to be printed, in addition to specifying format strings, you need to enable header printing with set_print_header().