Hi Mark, I have started a new approach to wxPdfDocument, which I think will be easier and more suit my purposes.
I have installed the latest version of wxPdfDocument as per its instructions, but then I call it from wxRichTextPrinting (ie richtextprint.cpp/.h) with some new methods: * PdfFile (Corresponding to PrintFile) * PdfBuffer (Corresponding to PrintBuffer) * DoPdf (Corresponding to DoPrint) Then I will just need to add two wrap lines to the Wx::Perl wrap for: * PdfFile * PdfBuffer DoPdf just copies the wxDC to wxPdfDC page by page along with headers and footers, all of which are already handled by printing. This creates a way of working which can be expanded for the other Print methods (and I think there are only 2, normal print and HTML). It doesn't give you the whole versatility of wxPdfDocument, but I suspect most people don't need this. I guess I will need some sort of compiler check to see if wxPdfDocument is installed. Like: #if WXPDFDOCS_VERSION_GE(x, y, z ) or something. Do you know I could do this? What do you think generally? Regards Steve
<<Blank Bkgrd.gif>>
