[cups.bugs] IPP from windows fails with native drivers onnon-raw queue

Michael R Sweet msweet at apple.com
Wed Feb 18 08:39:34 PST 2009


Kyle Schmitt wrote:
>>> When using vendor drivers, you either a) need to use a raw queue or
>>> b) add a local.types file that adds additional matching rules for
>>> application/vnd.cups-raw.
>>> Michael R Sweet                        Senior Printing System Engineer
>> But this works with native drivers on a non-raw queue via SMB.  Wouldn't that indicate that local.types has enough rules to handle it?
>>
>> --Kyle
>>
> 
> 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...

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list