IPP from windows fails with nativedrivers onnon-raw queue

Kyle Schmitt kschmitt at tootsie-roll.com
Wed Feb 18 09:28:24 PST 2009


> > 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?

Thanks
--Kyle




More information about the cups-devel mailing list