[reportlab-users] display report without writing to disk

Tim Smith reportlab-users@reportlab.com
Sun, 10 Oct 2004 14:40:40 +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.
>
can you give me an example of how you call acrobat?