Printing in wx ... please help

Yes, same here. Anybody had any success while trying to print from PyPlot?

···

I am just testing printing using the base of pyPlot. It doesn't work...
When we print to a file, its size is null...
and nothing is printing when I print to a printer.

O.R.

Chris Barker wrote:

However, the PrintFramework demo works fine with both versions, but it has two identical pages, rather than one.

The page numbers are different.

Is it supposed to do that, by way of demonstrating how to print multiple pages?

yes.

I was going to try and fix wxPyPlot, but I don't have much time to work on it, so if I don't find the problem quickly, I probably won't succeed.

I don't really have time to dig into it either. :-/

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Chris Barker wrote:

I was going to try and fix wxPyPlot, but I don't have much time to work on it, so if I don't find the problem quickly, I probably won't succeed.

Well, I got as far as seeing that:

wx.Printer.Print() gets called, but the OnPrintPage() method of the instance of the wx.Printout class never gets called. Print() does return True.

This looks like a wxPython bug to me, and I'm out of time for looking at it.

wxPython GTK 2.5.1

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov