ppdi not merging common content from multiple PPDs?

Michael Sweet msweet at apple.com
Tue Mar 3 20:50:20 PST 2009


On Mar 3, 2009, at 2:23 PM, Smith Kennedy wrote:
> On Mar 3, 2009, at 12:08 PM, Michael Sweet wrote:
>
>> On Mar 3, 2009, at 7:49 AM, Smith Kennedy wrote:
>>> ...
>>> If this is expected behavior (I seem to recall finding in my  
>>> thrashing that it is),
>>
>> It is currently the expected behavior; optimizing the output is on  
>> our TODO list but hasn't yet happened.
>
> My mistake - I thought it used to do this some time ago, but I must  
> have been mistaken.  Will this be in the DDK included with CUPS 1.4?

Probably not in 1.4.0, but likely for a later 1.4.x update.

>>> ...
>>> I thought the problem might be that the files were not  
>>> "normalized", so tried importing one using ppdi and then re- 
>>> generating it using ppdc, and did the same thing for the second  
>>> one.  Interestingly, ppdi refused to import the ppds generated by  
>>> ppdc.
>>
>> What errors did you see?
>
> There were no errors written out to stdout or stderr.  Here is an  
> example run I did just now:
> ...
> Notice that there were no error messages written out by ppdi when  
> importing hp1300_6.ppd.  But the "new.drv" file doesn't have the  
> LaserJet 1300 in it.  I checked system.log and the console log in  
> Console.app on Mac OS X and didn't see anything.

Can you re-test with the current CUPS 1.4 release or Subversion sources?

I'll see about adding a unit test for this to the standard build.

> ...
> Hand-editing is tricky, which is why I was hoping to use the  
> tool.  :-)
>
> Perhaps a 1-level pass would be possible as a first-phase  
> enhancement that could make it into 1.4, with multi-level  
> implemented later?

That's the most likely path, although like I said it might not show up  
until 1.4.x
(x > 0)

________________________________________
Michael R Sweet, Senior Printing System Engineer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20090303/d6ae3442/attachment.html>


More information about the cups-devel mailing list