[cups.development] PPD and .drv file

Michael Sweet msweet at apple.com
Mon Apr 12 21:58:30 PDT 2010


On Apr 8, 2010, at 11:54 PM, newdev wrote:
> Many thanks for the reply Michael.
> 
>>> In addition to this, I want to alert the user if he gives wrong paper =
>> size while selecting custom page size from openoffice or a pdf =
>> document.Can this be done through PPD?
>> 
>> 
>> You can specify the range of sizes that are allowed for a custom size, =
>> but whether OOo or other apps do size validation is up to the app or the =
>> toolkit they use.
> 
> I understand the point that the application should inform the user about the wrong PageSize.That I will have check how it can be done.
> 
> If I specify the range of page sizes allowed for a custom size, as you mentioned in the PPD, will the cups show error or will it put the permissible values in the custom UI dialog?

CUPS won't prevent the application from sending an out-of-range media size; instead it just won't set the page size...

> Still is it possible with cups to show error message like "Error:Invalid page" on the printer queue?


Only if the driver implements this functionality.

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list