This class provides very simple interface to printing
architecture. It allows you to print HTML documents using
only a few commands.
Do not create this class on the stack only. You should create an instance on app
startup and use this instance for all printing operations. The reason is that
this class stores various settings in it.
Constructor.
Preview HTML file.
Returns false in case of error — call
Printer#get_last_error to get detailed
information about the kind of the error.
Preview HTML text (not file!).
Returns false in case of error — call
Printer#get_last_error to get detailed
information about the kind of the error.
Print HTML file.
Returns false in case of error — call
Printer#get_last_error to get detailed
information about the kind of the error.
Print HTML text (not file!).
Returns false in case of error — call
Printer#get_last_error to get detailed
information about the kind of the error.
Display page setup dialog and allows the user to modify settings.
Sets fonts. See HtmlWindow#set_fonts for
detailed description.
Wx::PAGE_ALL
)
Sets the page header to the text header. The header can contain HTML
markup. It can also include placeholders, wrapped in the @ sign,
which be will replaced on each page.
The page parameter can be used to control which set of pages the
header is set for. It can be one of the constants Wx::PAGE_ODD
, Wx::PAGE_EVEN
or Wx::PAGE_ALL
.
Wx::PAGE_ALL
)
Sets the page footer to the text footer. The footer can contain HTML
markup. It can also include placeholders, wrapped in the @ sign,
which be will replaced on each page.
The page parameter can be used to control which set of pages the
footer is set for. It can be one of the constants Wx::PAGE_ODD
,
Wx::PAGE_EVEN
or Wx::PAGE_ALL
.
Returns the PrintData instance used by this class. You can
set its parameters (using its set_xxx methods).
Returns the PageSetupDialogData instance used by
this class. You can set its parameters (using its set_xxx methods).
[This page automatically generated from the Textile source at 2023-06-13 21:31:39 +0000]