[cups-devel] cupsd.conf option DefaultPaperSize has no effect

Michael Sweet msweet at apple.com
Thu Jul 30 08:22:11 PDT 2015


Adrian,

> On Jul 30, 2015, at 11:09 AM, John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de> wrote:
> 
> Hi Michael!
> 
> Thanks for your valuable input. These suggestions actually help a lot!
> 
> On 07/30/2015 02:21 PM, Michael Sweet wrote:
>> Two ways:
>> 
>> 1. Copy the vendor PPD to /usr/share/cups/model, then setup queue with "-m".
>> 2. Use "-i" or "-P" along with the "-o PageSize=A4" option (you'll need to run two separate commands prior to 2.0.3 due to a bug)
> 
> That's actually what I was looking for, thanks!
> 
>>> Is this by design or is it technically not possible to force the paper
>>> size in CUPS source code when supplying a PPD?
>> 
>> The default paper size is part of the PPD.  You can override the default in the PPD (all of the
>> DefaultPageSize/DefaultPageRegion/DefaultImageableArea/DefaultPaperDimension lines) or ask
>> CUPS to do it.
> 
> What exactly do you mean by "ask CUPS to do it"? You mean, using the web
> interface?

Or the "-o" option to lpadmin...  Both effectively edit the PPD file to make the changes for you.

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair




More information about the cups mailing list