[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

please help - CUPS filter?



i have a CUPS filter setup that works locally but not when i send a print job from a windows machine.

i've created a filter named "compressedtext" as follows:

- created the filter and put it in /usr/lib/cups/filters

- put this in test.ppd:

  *cupsFilter: "text/plain 0 compressedtext"

the filter works as expected when i send a print job like this:

   lp -d test testing.txt


...but it doesn't work if i then do this on a Windows 2000 machine:

- create an LPR printer port pointed at the test queue

- set up a generic text printer on that queue

- print a text document to that printer

according to error_log, in the first case, the document is correctly identified as "text/plain". however, in the second case it's identified as "application/vnd.cups-raw". now, just trying to get this to work, i put this in test.ppd:

  *cupsFilter: "application/vnd.cups-raw 0 compressedtext"

but it still didn't work.  it doesn't seem to call my filter at all.

any suggestions?



Reply to: