On Mon, Feb 05, 2001 at 07:20:51PM -0000, Jim M. wrote:
> Hi,
> When used:
> ShowPDF()
> {
> pdf2ps "$1" | ps2ascii
> }
> in mutt.octet.filter file, i get the error:
> Usage: pdf2ps [-dPSBinaryOK] [-dPSLevel] [-dPSNoProSet] inputpdf output.ps

Look at the usage error message.  

Since it looks like ShowPDF () is a bash function, just add some steps.  

ShowPDF ()
{
  pdf2ps ${1} temp.ps
  ps2ascii temp.ps
  rm -f temp.ps
}

Or whatever floats your boat.  You might want to check the options to
ps2ascii and modify that line as well.  

-- 
Jeremy A. Gray
A434 Chemical and Life Sciences Laboratory
University of Illinois at Urbana-Champaign
[EMAIL PROTECTED]

Reply via email to