From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cfd3c0f3ef35ca8e X-Google-Attributes: gidfee84,public From: Charles M Richmond Subject: Re: if for remote printer local defined Date: 1998/08/30 Message-ID: <35E98133.C637FA37@iisc.com>#1/1 X-Deja-AN: 386176020 Content-Transfer-Encoding: 7bit References: <904118947.620371@news.vbs.at> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 904495411 198.5.5.5 (Sun, 30 Aug 1998 12:43:31 EDT) Organization: Integrated International Systems Corporation MIME-Version: 1.0 NNTP-Posting-Date: Sun, 30 Aug 1998 12:43:31 EDT Newsgroups: comp.unix.osf.osf1 Erhard Glueck wrote: > > I need a inpufilter on a specific computer for a remote printer (DEC-Alpha > OSF1) > There is a description for LINUX in the german paper c't 17 1998. > But it doesn't function. > If I'm not in the right news-group for this question please tell me an other > > Thank you for an answere You will get a lot of answers about scripts and changing lpr s/w to LPRng, but if you have DUNIX 4.0x you have an easy solution. An old style 'remote' printcap entry, with no filters, looks like: lp3|3|text:\ :lf=/usr/adm/lp0err:\ :lp=:\ :rm=inpon:\ :rp=text:\ :sd=/usr/spool/lpd0: While the 4.0x tcp printcap (with filters) looks like: lp0|0|lp|hp:\ :af=/usr/adm/lp2acct:\ :ct=tcp:\ :if=/usr/lbin/ps_level2of:\ :lf=/usr/adm/lp2err:\ :lp=@HOSTNAME/SOME_SERVICE_NAME:\ :mx#0:\ :of=/usr/lbin/ps_level2of:\ :pl#66:\ :pw#80:\ :rw:\ :sd=/usr/spool/lpd2:\ :xf=/usr/lbin/xf: Additionally the etc/services file had the following line added: SOME_SERVICE_NAME 9100/tcp The /etc/hosts file must include a line for the printer in the same way that the 'remote' solution does: ip.add.printer HOSTNAME HOSTNAME.your.com -- *********************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net * * UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W * * One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 * * (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 * ***********************************************************************