logo       

Re: Re: How to replicate old LPD filter functionality?: msg#00024

printing.cups.devel

Subject: Re: Re: How to replicate old LPD filter functionality?

Morgan wrote:

> The script was called as a printcap input filter (if=). However, it
> didn't really "filter" anything. It simply captured the input,
> reformatted it and stored it into separate text files in another spool
> directory. The original print job is removed. The queue is processed
> later by another application outside of the lpd/printing system.

This isn't by chance a banking application called "Global One"? If it is: we
have done this as part of a migration project for a customer.

> In short, I basically want to be able to accept the data from a print job,
> massage it, store it somewhere else, and then be done. If you can suggest
> how one might replicate this functionality using CUPS, that would be very
> helpful. Thanks, Helge.

That's not too difficult. Just replace LPR "filter" with CUPS "backend". How
to implement a simple shell-script based backend is demonstrated in the
CUPS book (pages 368-371).

Regards,
Dominik Kubla
--
ScioByte GmbH | ScioByte Information Technologies AG
Fritz-Erler-Strasse 6 | Innere Güterstrasse 4
55129 Mainz (Germany) | 6304 Zug (Switzerland)
Phone: +49 700 724 629 83 | Phone: +41 41 710 30 18
Fax: +49 700 724 629 84 |

GnuPG: 1024D/717F16BB A384 F5F1 F566 5716 5485 27EF 3B00 C007 717F 16BB


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise