cups and lp (cups lp)

Kurt Pfeifle kpfeifle at danka.de
Wed Aug 23 06:33:27 PDT 2006


arnaud <ext.teamlog.valeix at sncf.fr> wrote (Wednesday 23 August 2006 07:34):

> Hello
> 
> I try these, but it doesn't work more better.
> In fact, the lp without the "-o raw" parameter doesn't work
> and I need to indicate this parameter for print.

That means

 - either you've not been sending plain text file to print
 - or your setup is somehow rather badly messed up...

> Thank's anyway.
 
Cheers,
Kurt 
 
 
>> arnaud <ext.teamlog.valeix at sncf.fr> wrote (Tuesday 22 August 2006 16:16):
>>
>>
>> What distro/version do you use?
>>
>> > text/plain              application/vnd.cups-raw        0       -
>>
>> This line means to CUPS: "If you receive a file that you autotype as
>> mime type 'text/plain' -- don't touch it and don't filter it. Send it
>> directly to the printer instead, just as it is."
>>
>> Change that line to read:
>>
>>   text/plain       application/postscript     33      texttops
>>
>> This will mean to CUPS: "If you receive a file that you autotype as
>> mime type 'text/plain' -- use the texttops filter to convert it into
>> mime type 'application/postscript', and then hand it over to the
>> next filter in the chain (likely to be 'pstops')..."
>>
>> In this case your "cpi" and/or "lpi" parameters will be processed
>> and honored by the texttops filter.
>>
>> Cheers,
>> Kurt





More information about the cups mailing list