How to change a particular printer option in CUPS

Leslie Katz lesliek19 at yahoo.com.au
Sun Mar 23 02:02:37 PDT 2008


> >
> > On Mar 21, 2008, at 23:30 , Leslie Katz wrote:
> >
> > > Is there a way to add that option to the existing options for the
> > > printer in CUPS without changing anything else about the current
> > > installation? For instance, could I simply use:
> > >
> > > # lpadmin -P MP160 -o CNInkCartridgeSettings=bk
> >
> > That, or lpoptions.  (lpadmin edits the PPD, lpoptions stores per-
> > user (or global if run by root) options added to the defaults.)
> >
> > --
> > 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
> >
> >
>
> Thanks very much for your reply. I'll try lpoptions.

Well, I've now tried: # lpoptions -p MP160 -o CNInkCartridgeSettings=bk
followed by # lpoptions -p MP160 -l
but the list doesn't include the option that I've just tried to set.

However, as I mentioned in my first message, printing from the command line using lpr and adding to it -o CNInkCartridgeSettings=bk does work.

Can it be that lpoptions will only deal with generic options and not ones unique to a particular printer?





More information about the cups mailing list