A line printer to print text directly

Helge Blischke h.blischke at srz.de
Wed Mar 30 03:35:35 PST 2005


Mohit Kumar wrote:
> 
> Hi All,
> 
> I was analysing cups for a past few days to figure out its applicability with my product, but there is one question to which I was not able to find the answer and hence in vain I am posting this question here in hope of getting some replies.
> 
> I have understood the complete filtering architecture of CUPS and really appreciate it. But if the scenario is like we need to print to a line printer which understands text as it is, then would CUPS still do all the filter conversions or is there some API in CUPS library which would help me bypass the filter chain provided by CUPS?
> 
> Any help in this regard would be highly appreciated.
> 
> Thanks,
> Mohit

You need a (minimal) PPD for your printer which contains the line

*cupsFilter: "text/plain 0 -"

which tells CUPS that the document format "text/plain" is the native
format for
your printer and doesn't require any other processing.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list