* [9fans] ps2pdf buglet
@ 2003-01-02 10:23 steve.simon
0 siblings, 0 replies; only message in thread
From: steve.simon @ 2003-01-02 10:23 UTC (permalink / raw)
To: 9fans
Hi,
ps2pdf fails when run with one arg (write
pdf to stdout), reporting the error
"Unable open the initial device, quitting"
This is also a common error if gs cannot open its output file.
ghostscript refuses to write to /dev/fd1, maybe it closes
stdout when given a filename? - I haven't waded through
the source as there is an easy fix.
Simply remove the two if() statements in /rc/bin/ps2pdf which change
the missing input and output filenames from - to /fd/0 and /fd/1,
gs gives minus the special meaning we need.
-Steve
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-02 10:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02 10:23 [9fans] ps2pdf buglet steve.simon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).