I use the HtmlHelpController to provide Help in my application. However,
when someone wants to print one of my Help screens, the HtmlHelpController
defaults the printer's paper to A4, and I haven't been able to figure out
how to access the appropriate PrintData object to set the Paper Id
appropriately.
Can anybody tell me how to get the HtmlHelpController to use wx.PAPER_LETTER
by default?
Thanks,
David K. Woods, Ph.D.
Transana Lead Developer (http://www.transana.org)
Wisconsin Center for Education Research
University of Wisconsin, Madison
This is what I use to print some grids. This is why there's
gridToHtml on the import list. You should alter the information on the
page_conf object. But remember to allow users to change the page size
(it is really hard to find printers with letter sized paper around
here... ;-)).
The issue is that the HtmlHelpController seems to have printing built into
it, and I need to figure out how to change the paper in that internal print
controler. As far as I know, there's no way for me to substitute my own
code for the print routines built into the HtmlHelpController.
David
···
-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Jorge Godoy
Sent: Monday, November 15, 2004 11:14 AM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython-users] Re: HtmlHelpController and printing
David Woods <dwoods@wcer.wisc.edu> writes:
> Can anybody tell me how to get the HtmlHelpController to use
wx.PAPER_LETTER
> by default?
This is what I use to print some grids. This is why there's
gridToHtml on the import list. You should alter the information on the
page_conf object. But remember to allow users to change the page size
(it is really hard to find printers with letter sized paper around
here... ;-)).
Be seeing you,
--
Godoy. <godoy@ieee.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
I use the HtmlHelpController to provide Help in my application. However,
when someone wants to print one of my Help screens, the HtmlHelpController
defaults the printer's paper to A4, and I haven't been able to figure out
how to access the appropriate PrintData object to set the Paper Id
appropriately.
Can anybody tell me how to get the HtmlHelpController to use wx.PAPER_LETTER
by default?
There doesn't seem to be a way to do it. Please enter a Feature Request asking for it.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!