1 Feb 2009 01:20
Re: Silencing output from pstopdf for use in LedgerSMB/Form.pm?
On Sat, 31 Jan 2009 15:30:58 -0800, Roderick A. Anderson wrote:
> Jeff Kowalczyk wrote:
>> If anyone has an idea to silence or ignore pstopdf output in the system()
>> call, perhaps this would be good commit to branches/1.2 and trunk,
>> facilitating use of additional advanced-graphics CTAN packages.
>
> How about using -o and -l? -o output filename (otherwise it is munged
> from the input filename) and -l specifies that any messages generated
> during file conversion be written to a log file (/dev/null).
>
> Untested. Just a theory.
The pstopdf packaged with texlive-2008 doesn't seem to publish those
options.
pstopdf does seem like a bit of an odd duck compared to the other
texlive-packaged utilities, and makes me question whether the
PS-to-PDF path is more robust, I had presumed that to be the case.
PSTOPDF(1) ConTeXt PSTOPDF(1)
NAME
pstopdf - convert EPS to PDF
SYNOPSIS
pstopdf [ OPTION ... ] FILE [ ... ]
DESCRIPTION
pstopdf converts EPS (encapsulated PostScript) to PDF.
(Continue reading)
RSS Feed