Re: [Printing-user-general] using cups with a2ps....
Till Kamppeter <[email protected]> Fri, 18 Aug 2006 10:08:10 +0200
| Newsgroups | gmane.linux.printing.general |
|---|---|
| Message-ID | <[email protected]> |
This is no problem. You only need to write a wrapper script (a little program which calls a2ps, can be shell script, Perl, Python, ...) with the command line syntax of a CUPS filter. Then rename texttops and install the script as /usr/lib/cups/filter/texttops. See http://www.cups.org/documentation.php http://www.cups.org/documentation.php/man-filter.html http://en.opensuse.org/SDB%3AUsing_Your_Own_Filters_to_Print_with_CUPS for how to make such a CUPS filter and for other possibilities to integrate it. It is the same way to proceed for both CUPS 1.1.x and 1.2.x and also for all distributions. Till fred wrote: > Hi all, > > I wonder if it is possible to use a2ps filter with cups, in order to > print ASCII files, instead of using texttops. > > Anyone has suggestion ? > > Thanks in advance. > > Cheers, >