Print Filter

2007-12-25 11:55:00

Thanks to all who responded. Sorry I did not get the summary back sooner.

Respondees :

Scott Fendley <dsf@comp.uark.edu>

Stefan Voss <s.voss@terradata.de>

Peter M Allan <peter.allan@aeat.co.uk>

"Brian E.W. Wood" <beww@intac.com>

Joseph S D Yao <jsdy@tux.org>

David Thorburn-Gundlach <david@bae.uga.edu>

Original Question :

Question to all,

        Is there a way to filter each print job, ie. I wrote a filter to

take from stdin or from an arguement and print it to the printer with the

cr/lf at the end of the line. Any ideas?

                                        Bob

Some of the answers included :

HP jetadmin software for solaris if using HP printers

LPRng from

http://www.leo.org/pub/comp/sysmgmt/printing/systems/LPRng/beta/index.html

"Essential System Administration" from A. Frisch (O'Reilly) on page 563.

for SunOS 4.1 you can put of=/usr/local/bin/printfilter in /etc/printcap

and then in printfilter put :

#!/bin/sh

sed -e 's/$/^M/' -

in Solaris try lpfilter

Other ideas included running samba for network printing and doing stuff

with it, renameing lp to lprun or something and put the filter right into

a self written script lp.

Again thanks for all of the great ideas.

                                Bob Bridgham

*************************************************************************

* Bob Bridgham Webmaster@b-e-s-t.com *

* *

* B. - Billing http://www.b-e-s-t.com *

* E. - Electronic *

* S. - Services *

* T. - Technology, Inc. *

*************************************************************************

Comments

Got something to say?

You must be logged in to post a comment.