From: "James K. Lowden" <jklowden schemamania org>
To: dia-list gnome org
Subject: Re: print preview
Date: Thu, 16 Jan 2003 00:27:09 -0500
On Tue, 14 Jan 2003 14:51:05 +0000 (GMT), Alan Horkan
<horkana@maths.tcd.ie> wrote:
>
> Short answer
> No. Print Preview is not available
>
> Longer Answer, Possible workaround would be to print to a file and then
> use some sort of a postcript veiwer such as Alladin Ghostscript.
The muscle of a real operating system makes a hack like "print preview"
look pretty puny.
An even better answer would be to define a fifo for the purpose.
If .dia/diarc defined a fifo and an external postscript displayer (say,
ggv), "print preview" would be simple to implement: fork a process to
write to the fifo, and launch the displayer. Not very different from
defining helper applications in your favorite web browser. Or the way
Bluefish uses a browswer, or the way....
Sadly, it seems ggv won't read from stdin. If it could, dia could write
to stdout and skip the fifo.
--jkl