lpadmin -o options

Michael Sweet mike at easysw.com
Wed Feb 2 13:34:51 PST 2005


Anonymous wrote:
> I am trying to set the job-sheets for the server, so that all clients
> get the same banner.  I tried using lpoptions, but I was forced to
> repeat it on the clients.  But when I use the webb page, it edits the
> printers.conf file and this works so that I don't have to configure
> the clients.  Now how do I get the printers.conf file edited using
> the lpadmin command  ( I tried -o job-sheets etc..) and I get no
> error, but I also get no update in the printers.conf file.

lpadmin -p printername -o job-sheets-default=foo,bar

The "-default" part sets the default in printers.conf... :)

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list