Problem in Printing.py

Leonid Shulov lshulov at arabellasw.com
Wed Jan 3 03:34:56 PST 2007


Hi, Robin


For printing in my application I took example from  =

http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/wxPython/samples/wxPIA_book/=
Chapter-17 =

and changed margins to (wx.Point(25,15), wx.Point(15,15)) and paper size =

to wx.PAPER_A4. Now my problems:
1. In Page Setup:
    a) Paper size changed.
    b) Margins not changed from (wx.Point(20,30), wx.Point(20,30)) to my =

size.
2. In Print Preview:
    a) Margins was changed.
    b) Paper size(page Height) was changed but page width not.
3. In Print:
    a) Paper - paper size is US Letter and margins  (wx.Point(20,30), =

wx.Point(20,30))
    b) Print Preview - paper size and margins is ok.
    c) Print -   paper size and margins is ok.


I think there is a bug in wx.PageSetupDialog, wx.PreviewFrame and =

wx.PrintDialog.


I work with:

Debian 3.1

Python 2.4.4

wxPython 2.6.3.2.1

-- =

 Shulov Leonid             lshulov at arabellasw.com
  System Administrator
  Arabella Software Ltd.   www.arabellasw.com
  Tel: +972 9 7651788      Fax: +972 9 7657494

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200701=
03/5cf62db6/attachment.htm


More information about the wxpython-users mailing list