main logo
Subject: Re: [dabo-users] Newbie with questions...
Author: Michael Hipp
Posted: 2007/02/28 12:59:23
 
View Entire Thread
New Search


Ed Leafe wrote:
> Take a look at http://wxwidgets.org/manuals/2.6.3/wx_wxprintout.html
>
> Printing is very, very low-level in wxPython. This would require a
> major effort, probably on par with creating the Dabo grid, in order
> to achieve basic printing in Dabo.

Yes. I've read Robin's book and am familiar with it just enough to realize the
truth of your statement.

Are there other things we could attach to Dabo to do printing from Python? I'm
stuck thinking of wx because that's the only Python-based print framework I
know of. Are there others?

> Does ReportLab have an option of 'to printer' instead of opening up
> the output in a preview? If so, that could handle a large amount of
> our printing needs.

ReportLab produces PDF files. Nothing more or less. I've discussed the
printing issue on the ReportLab mailing list at some length. (Too much length
actually, as I probably offended some people -- I just couldn't believe it was
so difficult to actually just print a PDF.) The available answers came down
to: a) make do with GhostScript, b) buy a commercial solution. They
"officially" consider the printing question to be OT. Once the PDF file is on
disk, they're done.

The above isn't meant to be critical of ReportLab. It's terrific and the
authors are very helpful. The problem really is Adobe's bloated, pretentious,
unbearable Reader app.

I don't mean to rant, I'd be grateful for any ideas on how to print from
Python. Unless succor comes from some unknown direction I may be doomed to
embark on that "major effort" you mentioned. As Mr. Spock would say, "not a
very pleasant prospect". :-)

Michael


 
©2007 Michael Hipp
<-- Prior Message New Search Next Message -->