[cups.general] Printing text files to a postscript only printer.

Helge Blischke h.blischke at srz.de
Sat Feb 19 08:00:08 PST 2005


mrl wrote:
> 
> Hi - Thanks, I'm aware of that filter, but the documentation only
> mentions that filter, in relation to non-postscript printers.  Foomatic
> may use it, but I don't see any documentation that indicates it can be
> used somehow non-foomatic postscript printer configuration, or am I
> wrong? -  Mark
> 
> Kaze wrote:
> > mrl wrote:
> >
> >> I have a Xerox Phaser 8200 that only accepts postscript, and not text
> >> files (unlike my HP printers).  Can I configure CUPs so that it can
> >> automatically convert text files to ps, that are printed via the lpr
> >> command?  I want to avoid having to manually use a converter like
> >> enscript.   I'm using Redhat Enterprise 3, FWIW.  Thanks. -  Mark
> >
> >
> > CUPS should come with a filter called texttops which should do exactly that.
> >

That filter routinely converts plain text to PostScript, so simply print
your plain text files to your printer.

If you aren't satisfied with what the texttops filter generates, you are
free
to wrap e.g. enscript by a script that makes it behave like a CUPS
filter.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360




More information about the cups mailing list