Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Charles M Richmond <cmr@iisc.com>
Subject: Re: if for remote printer local defined
Date: 1998/08/30	[thread overview]
Message-ID: <35E98133.C637FA37@iisc.com> (raw)
In-Reply-To: 904118947.620371@news.vbs.at

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         *
***********************************************************************



      parent reply	other threads:[~1998-08-30  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <904118947.620371@news.vbs.at>
1998-08-26  4:00 ` if for remote printer local defined Ernest LaBonte
1998-08-26  4:00   ` Juergen Schroeder
     [not found]     ` <904204872.931088@news.vbs.at>
1998-08-27  4:00       ` Timo Felbinger
1998-08-27  4:00       ` Juergen Schroeder
1998-08-30  4:00 ` Charles M Richmond [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox