|
From: Éjjeli Ő. <ejj...@gm...> - 2009-02-01 10:21:53
|
I found the problem now, and fixed it:
hep = wx.wxHtmlEasyPrinting("My print's preview",myApp)
hep:SetHeader("@PAGENUM@/@PAGESCNT@. page")
prnSetup = hep:GetPageSetupData()
prnData = hep:GetPrintData()
prnData:SetNoCopies(3)
tMinoseg =
{wx.wxPRINT_QUALITY_DRAFT,wx.wxPRINT_QUALITY_LOW,wx.wxPRINT_QUALITY_MEDIUM,wx.wxPRINT_QUALITY_HIGH}
prnData:SetQuality(2)
prnSetup:SetMarginTopLeft(wx.wxPoint(12,12))
This works as it excepted, everything is OK now, no crash :-)
|