can't find a way to display and print pdf through python.

Christian Stapfer nil at dev.nul
Sun Feb 11 11:24:53 EST 2007


krishnakant Mane wrote in message 
news:mailman.3852.1171176596.32031.python-list at python.org...
> On 11/02/07, Vishal Bhargava <vishal at veriwave.com> wrote:
>> Use Report Lab...
> I mentioned in my first email that I am already using reportlab.
> but I can only generate pdf out of that.
> I want to display it on screen and I also will be giving a print
> button which should do the printing job.
> by the way I use wxpython for gui.

Under Windows you could do it by embedding Adobe's
ActiveX control in your application. Don't know
about Linux, though. Perhaps you could just convert
your PDF to a raster image for display (eg. by
using ImageMagick's convert) under Linux?

Regards,
Christian




More information about the Python-list mailing list