D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] GhostScript

 

peter wrote:

Neil Stone wrote:

Right, I now have the if statement working properly...

Only problem i have now is when gs is called from the script, it doesn't
exit properly... it goes to a "GS>" prompt (exits when you press ctrl+d),
which is fine while testing but when this goes live to convert files put
in a specific directory (via ftp) it needs to work without interaction.

Anyone know how to get gs not to do this ?


Might be a silly question but is there any reason why you can't use ps2pdf to do this rather than calling gs directly?

Sorry. Meant to add that the -dBATCH and -dNOPAUSE options should solve the problem if you do want to drive gs directly.

Pete

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html