[cups.general] Make printer to use "number-up=2" per default

Michael Sweet msweet at apple.com
Mon Aug 9 11:21:36 PDT 2010


If you are using CUPS 1.4 or later, try:

    lpadmin -p printer -o number-up-default=2

For all versions of CUPS you can also set the defaults on each machine with:

    lpoptions -p printer -o number-up=2

(run the lpoptions command as root to set the default for all users on a machine)

The difference is basically that lpadmin applies the default on the server while lpoptions applies the default from the "client" side - server defaults apply to all machines while client defaults only apply to the machine you are printing from...  The order of precedence (highest to lowest) is job, user (lpoptions), system (root lpoptions), and finally server (lpadmin) options.

On Aug 9, 2010, at 4:21 AM, Tobias wrote:

> Hi,
> i want to have a printer working in a way that it always prints 2 pages on one sheet per default.
> 
> It already worked fine so that the printer always prints black&white and duplex by editing the default values directly in the ppd file, like:
> 
> *DefaultDuplex: DuplexNoTumble
> 
> Unfortunately there is not such a option for number-up.
> 
> When i print with the command line using number-up=2 it works fine.
> 
> So, my question: can i somehow set the default value for a specific printer to number-up=2? It doesn`t matter if i can set this option in the ppd file or somewhere else (like in the printers.conf or can i define a simple filter that adds the number-up option?) - it only should work :)
> 
> I already spent 2 days on that and i`m very happy for any hints/suggestions!
> Thx
> Tobias
> 
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list