[cups.bugs] [HIGH] STR #2831: %%IncludeFeature: functionality not working correctly
sbalneav at ltsp.org
Fri May 23 09:22:50 PDT 2008
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
Per OpenOffice bug #65491:
OpenOffice moved from a %%BeginFeature/%%EndFeature to an %%IncludeFeature
style for selecting features to include. Notibly (in my case) selecting
InputSlots for multibin printing (we work in an office environment, and
it's quite common to have a document that has the first page pulling
letterhead from bin 2, plain from bin 3, and an envelope from the envelope
I think I've found 2 problems with the pstops filter:
1) doc_setup was being called before the search for IncludeFeatures was
being run. Therefore, options that were added after the doc_setup weren't
being cupsMark'd and ppdEmit'd Fixed this by moving the doc_setup call to
after the search and insert_feature calls.
2) No search for IncludeFeatures was being done in the
%%BeginPageSetup/%%EndPageSetup region. So, if the input tray was changed
for one page, it wasn't being picked up at all. Fixed this by moving the
search code earlier, and adding a check for %%IncludeFeature
I've attached a patch.
Oh, BTW, tell Till Scott says Hi! :)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cups