In all my IFHP filter , I use acroread :
pdf_converter=/path/.../acroread -toPostScript

It's run correctly.

Roger.

Patrick Powell wrote:
> 
> The IFHP filter supports pdf to PostScript conversion by using the
> GhostScript program.  Unfortunately for me,  the GhostScript developers
> are too clever.  By default, PDF files need to be 'seekable', so they
> put a restriction in that they require input from a 'true file'.
> 
> I have finally figured a way to pass the name of the input file
> to the GhostScript program so that PDF conversion works correctly.
> 
> By convention, LPRng passes the input file path as:
>  ... ifhp -eFileName
> 
> The \%s{inputfile} token will expand to the value of the -e option,
> otherwise to /dev/fd/0 if the /dev/fd facility is available,
> otherwise to '-'.  This means you can now do:
> 
> pd2ps_converter = gs .... -c save pop -f \%s{inputfile}
> 
> and you get the name of input file, GhostScript will open the file,
> and there will be PDF to PostScript conversion.  I hope...
> 
> Patrick Powell                 Astart Technologies
> [EMAIL PROTECTED]            6741 Convoy Court
> Network and System             San Diego, CA 92111
>   Consulting                   858-874-6543 FAX 858-279-8424
> LPRng - Print Spooler (http://www.lprng.com)

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to