[reportlab-users] display report without writing to disk
Fri, 08 Oct 2004 08:37:06 +1000
Tim Roberts wrote:
> On Thu, 07 Oct 2004 09:36:56 +1000, Tim Smith <firstname.lastname@example.org> 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.