Is it possible to get the printername from the wxPrinterDialog

Hello,

I am want so set the defaultprinter under win32.

Is it possible to get the printername from the wxPrinterdialog to set the
default printer via the win32print modul.

regarts

Martin Moellenbeck

mmoellenbeck@plus.de wrote:

Hello,

I am want so set the defaultprinter under win32.

Is it possible to get the printername from the wxPrinterdialog to set the default printer via the win32print modul.

You can get it from the wxPrintData.GetPrinterName method. (The wxPrintDialog has a wxPrintDialogData object which has a wxPrintData object.)

ยทยทยท

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