[reportlab-users] display report without writing to disk

Tim Roberts reportlab-users@reportlab.com
Thu, 07 Oct 2004 11:04:13 -0700


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.

-- 
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc.