I'm using Python 2.6.5. I would like to be able to print an RTF file, with no prompts for printers or anything like that.
Here's the code so far: import wx.richtext rtp = wx.richtext.RichTextPrinting() rtp.PrintFile('C:\\path\\to\\file.rtf') When I run it, it says: ... assert "(wxThePrintPaperDatabase*) NULL) failed ... What is the fix? -- http://mail.python.org/mailman/listinfo/python-list