Pan-printer lpoptions?

Michael Sweet mike at easysw.com
Mon Nov 6 11:10:31 PST 2006


John A. Murdie wrote:
> I can use lpoptions(1) to set default options for a particular printer - e.g. some margins:
> 
> $ lpoptions -p p1 -o page-left=20 -o page-right=20 -o page-top=20 -o page-bottom=20
> 
> and these are recorded in my $HOME/.cups/lpoptions file:
> 
> Dest p1 page-left=20 page-right=20 page-top=20 page-bottom=20
> 
> Is there a way I can set default options for *all* printers?
> 
> Perhaps a `-a' option?
> 
> $ lp -a -o page-left=20 -o page-right=20 -o page-top=20 -o page-bottom=20
> 
> to make text print on all printers with 20pt margins?
> 
> I hate to have to write a loop over all the names of my printers to do this as things are now.
> 
> If there's no other way to do this now, I'll make this an RFE.

This usage isn't currently supported, but you wouldn't be the first
to ask for it.

Feel free to submit an RFE so we can track things, thanks!

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