I found the problem now, and fixed it:

hep = wx.wxHtmlEasyPrinting("My print's preview",myApp)
 hep:SetHeader("@PAGENUM@/@pages...@. 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 :-)
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to