D&C GLug - Home Page

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

Re: [LUG] GhostScript

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

peter wrote:
> 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

- -dBATCH did the job, thanks for that.... I didn't see that in the man
pages on my debian bos in the office, but it's there in gentoo...

odd...

Neil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDwWkuz3Av8JKgzxQRAiiKAJwN9d1BgRJKONQlYu2DTltA8cky+ACfb7Wg
UBPS0Kx/pT9ZiVAHLZo7B28=
=XlGr
-----END PGP SIGNATURE-----

--
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