Pan-printer lpoptions?

John A. Murdie john at cs.york.ac.uk
Mon Nov 6 09:34:04 PST 2006


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.

John A. Murdie




More information about the cups mailing list