wxHtmlEasyPrinting

Hi!

I am using this class to print out html pages. I would like to set the defaults left and right page margins, but I cannot figure out how. Is there a way to combine wxHtmlEasyPrinting class with wxHtmlPrintout which has methods for setting these margins?

I want to avoid having the user to set these margins by printer setup dialog...

Thanks,

···

--
Marius Trestioreanu

Marius Trestioreanu wrote:

there a way to combine wxHtmlEasyPrinting class with wxHtmlPrintout
which has methods for setting these margins?

No. wxHtmlEasyPrinting uses wxHtmlPrintout. You can use wxHtmlPrintout
directly, w/o wxHtmlEasyPrinting (wxHEP is mostly trivial class
anyway, all important stuff is in wxHtmlPrintout).

Vaclav

···

--
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x465264C9