[cups.bugs] IPP from windows fails with nativedrivers onnon-raw queue
Michael R Sweet
msweet at apple.com
Wed Feb 18 10:59:35 PST 2009
Kyle Schmitt wrote:
>>> If I snag the raw output from the server, the the first thing in the file is a long list of PJL commands. The very last one is:
>>> @PJL ENTER LANGUAGE=PCLXL
>>>
>>> Wouldn't that be matched by the standard mime.types rule:
>>> application/vnd.cups-raw (string(0,<1B>E) + !string(2,<1B>%0B)) \
>>> string(0,<1B>@) \
>>> (contains(0,128,<1B>%-12345X) + \
>>> (contains(0,1024,"LANGUAGE=PCL") \
>>> contains(0,1024,"LANGUAGE = PCL")))
>>>
>>>
>>>
>>> Mind you, I'm not terribly familiar with the rules for creating the rules, so that may be the cause of confusion.
>> It would need to appear in the first 1k of the file. You can increase
>> the "1024" to "4096" to catch more...
>
> That did it. Other than the fact that LANGUAGE=PCL would _normally_ be in the first 1k (characters I'm assuming), is there a reason for keeping the range that small?
Mainly performance in the default configuration. If we don't have
to read the first 4k of every print file we save on IO...
--
______________________________________________________________________
Michael R Sweet Senior Printing System Engineer
More information about the cups
mailing list