[wxPython-users] Print to file

Stuart Baron-Hay SBaron-Hay at fugroairborne.com.au
Tue Jun 26 23:05:16 PDT 2007


I need to save the DC as HPGL2 format and consequently was hoping to use a =
printer driver to do this.

Stuart
  ----- Original Message ----- =

  From: David Woods =

  To: wxPython-users at lists.wxwidgets.org =

  Sent: Tuesday, June 26, 2007 9:09 PM
  Subject: RE: [wxPython-users] Print to file


  Stuart,



  Couldn't you just save the data directly to the file without using the pr=
int infrastructure at all?  Maybe I'm missing something, but I don't see ho=
w the print dialog gets involved in saving data to a file.  When I generate=
 a report, save as and print are separate options from the report infrastru=
cture.



  David







  -----Original Message-----
  From: Stuart Baron-Hay [mailto:SBaron-Hay at fugroairborne.com.au] =

  Sent: Tuesday, June 26, 2007 5:31 AM
  To: wxPython-users at lists.wxwidgets.org
  Subject: [wxPython-users] Print to file



  I wish to print numerous items to individual ( non-postscript ) files and=
 so wish to bypass the print dialog;

  Unfortunately i cannot see a way to pass output filenames or even print a=
nything without using the dialog.

  Is it possible to print to file without the dialog???



  Cheers

  Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200706=
27/e28dc235/attachment.htm


More information about the wxpython-users mailing list