Standard wxPython printer setup

Hi John,

The attached backend_wx contains "def Printer_Setup2(self, event=None):", which uses the standard wxPython printer setup dialog this works for me on Windows XP Pro SP1, and Windows 2000.

Any chance that this could go into the next release?

See you
Werner

backend_wx.py (71 KB)

Hi Werner,

This should be tested on Mac and Linux too. I had portability
problems when I originally wrote the printing support. I can
believe that wx has gotten better.

But also, the current Printer_Setup() provides a simple way to
control the size of the image on the paper. I didn't see that on
yours.

--Matt

···

On Tue, 28 Jun 2005, Werner F. Bruhin wrote:

Hi John,

The attached backend_wx contains "def Printer_Setup2(self,
event=None):", which uses the standard wxPython printer setup dialog
this works for me on Windows XP Pro SP1, and Windows 2000.

Any chance that this could go into the next release?

See you
Werner

Hi Matt,

Matt Newville wrote:

Hi Werner,

This should be tested on Mac and Linux too. I had portability
problems when I originally wrote the printing support. I can
believe that wx has gotten better.

Agree, however I don't have access to either of those, like to get a Mac but this won't be in the future.

But also, the current Printer_Setup() provides a simple way to
control the size of the image on the paper. I didn't see that on
yours.

I did not see Printer_Setup2() as a replacement of Printer_Setup() but as an alternative. It uses the wxPython standard stuff, so I don't know if the image size can be done with it, will have another look at this sometimes next week.

See you
Werner

···

--Matt

On Tue, 28 Jun 2005, Werner F. Bruhin wrote:

Hi John,

The attached backend_wx contains "def Printer_Setup2(self, event=None):", which uses the standard wxPython printer setup dialog this works for me on Windows XP Pro SP1, and Windows 2000.

Any chance that this could go into the next release?

See you
Werner