*BSD News Article 83739


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!uwm.edu!cs.utexas.edu!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PostScript
Date: 27 Nov 1996 10:22:48 GMT
Organization: Private BSD site, Dresden
Lines: 24
Message-ID: <57h4po$pqb@uriah.heep.sax.de>
References: <329B5388.41C67EA6@pi.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Wouter de Boer <wouter.deboer@pi.net> wrote:

> HP500:\
>   :sh:sd=/var/spool/lpd/RainBow:\
>   :lp=/dev/lpt0:\
>   :if=/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500
> -sOutputFile=-
> 
> But I get the following message:
> 
> Nov 26 21:29:27 Amigo lpd[402]: cannot execv /usr/local/bin/gs -dSAFER
> -dNOPAUSE -q -sDEVICE=djet500 -sOutputFile=-
> 
> Can anybody help me to solve this problem ?

Wrap a shell script around it, using #!/bin/sh on top of it so it can
be execv()'ed.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)