setPrintHeader

open fun setPrintHeader(print: Boolean)

Sets whether you want to print a header in each page.

The header consists of three pieces of text and an optional line separator, configurable with method@PrintCompositor.set_header_format.

Note that by default the header format is unspecified, and if it's empty it will not be printed, regardless of this setting.

This function cannot be called anymore after the first call to the method@PrintCompositor.paginate function.

Parameters

print

true if you want the header to be printed.