[wxPython-users] Setting Page Data for Printing
Jürgen Kareta
python at kareta.de
Tue Sep 19 10:33:11 PDT 2006
Rich Shepard schrieb:
> On Tue, 19 Sep 2006, Jürgen Kareta wrote:
>
>> data.SetPaperId(wx.PAPER_LETTER)
>
>
> Jürgen,
>
> You were so helpful let me ask you for your thoughts on this: the
> above is
> the only instance of 'PaperId' in the file. However, when the dialog
> displays, it shows 'Note 8 1/2 by 11 inches' rather than 'Letter 8 1/2
> by 11
> inches'.
>
> Checking the wxwindows.org docs, I see that there really is a separate
> wx.PAPER_NOTE.
>
> Any ideas why LETTER would be specified, but NOTE be displayed?
>
> Puzzled,
>
> Rich
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
>For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
Hi Rich,
I can only guess that it depends on the paper formats that are available
for the current printer. I tested it with different printers and if the
Letter format is not available the default format is choosen. Maybe
Robin can sheet some more light onto it.
Jürgen
More information about the wxpython-users
mailing list