[reportlab-users] display report without writing to disk
Tim Smith
reportlab-users@reportlab.com
Fri, 08 Oct 2004 08:37:06 +1000
Tim Roberts wrote:
> On Thu, 07 Oct 2004 09:36:56 +1000, Tim Smith <tims@cqpl.com.au> wrote:
>
>> is there a way to just display my report before writing it to file?
>> i'd be using wxpython as my gui.
>>
>>
>
> Not easily. You could probably pipe it into GhostScript, but it's a
> lot easier to write it to a file and automatically invoke the Acrobat
> Reader. I use Acrobat as my "print preview".
>
> The only downside is that Acrobat keeps the file open while it is
> being displayed, so you cannot overwrite it. You have to close the
> document before each run.
>
yes it's just that disk access is so slow compared to everything else,
it's definately not the most optimal method.