[cups.general] File backend to replace existing pin printers
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Fri Sep 19 14:56:55 PDT 2008
On 2008 Sep 19, at 17:26, Calvin Gordon wrote:
>> if lpstat -a $TARGETFILE | grep | "$GREPSTRING" &> /dev/null ; then
Couple of bugs here:
(1) you want the printer name that CUPS is using, not the target
filename
(2) the vertical bar before the "grep" is correct but the one *after*
it should be removed
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the cups
mailing list