Date: Mon, 21 Jul 1997 11:17:13 +0200 From: Kent Boortz <kent@erlang.ericsson.se> To: tklew@binariang.maxisnet.com.my Cc: kent@erlang.ericsson.se Subject: Re: Network Printer : Stair Case Effect Message-ID: <199707210917.LAA05071@townsend.ericsson.se> In-Reply-To: Your message of "Mon, 21 Jul 1997 15:34:03 %2B0800" References: <60B34F2F68E5D011AD7600609759FA23031B57@SHT-01-MSG>
next in thread | previous in thread | raw e-mail | index | archive | help
The original "lpd" can't handle network printing and input/output filters in the same entry. This is a serious limitation in "lpd". So you have to make one "user" entry that have the filter and one entry for the network printing. The filter has to end in | /usr/bin/lpr -PRlp to pipe the output from filtering to the network entry in your printcap. You may have to use different queue directorys not to confuse lpd but I'm not sure about that. You have a PostScript printer so another option is that you don't print directly with "lpr" but uses GNU "enscript" instead. It has many nice options. I wrote my own filter (about 6 pages Perl) for a PostScript printer that handles this and ascii to PostScript conversion, tray selection and order, duplex printing, more than one page on the same paper (n-up) and some other features. Unfortunately the PostScript codes that is to be inserted is not the same for all printers but I will write some documentation for it and put it up for download somewhere. /kgb
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707210917.LAA05071>