wxHtmlEasyPrinting

wxHtmlEasyPrinting

wxHtmlEasyPrinting
Functions for wxHtmlEasyPrinting class

This class provides very simple interface to printing architecture. It allows you to print HTML documents using only a few commands.

Note: 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.

wxWidgets docs: wxHtmlEasyPrinting

Types

Display page setup dialog and allows the user to modify settings.

Types

Normal_face = Fixed_face = unicode:chardata()
Option = {sizes, [integer()]}

Sets fonts.

See wxHtmlDCRenderer::SetFonts (not implemented in wx) for detailed description.

Types

Option = {pg, integer()}

Set page footer.

The following macros can be used inside it: @DATE@ is replaced by the current date in default format @PAGENUM@ is replaced by page number @PAGESCNT@ is replaced by total number of pages @TIME@ is replaced by the current time in default format @TITLE@ is replaced with the title of the document