From: Joerg-Uwe Tessmer <joerg@agnld.uni-potsdam.de>
Subject: Re: Printing to remote IP problem
Date: Thu, 03 Jul 2003 14:56:38 +0200 [thread overview]
Message-ID: <3F042806.ED92CAAE@agnld.uni-potsdam.de> (raw)
In-Reply-To: 3f040fa4$0$226@hades.is.co.za
JasperH wrote:
>
> Hi All,
>
> I set up a new Alpha1200 (machine B) with the /etc/printcap the same as that
> of the old machine (machine A). Printing works fine on A. On B, when I print
> to lj02, the remote host IP is not recognised. However, I can ping the IP of
> the printer. Both Alphas and the printer are on the same network (ccc).
> Help would be appreciated. Thanks!
>
> Printcap entry on A and B:
>
> HPLJ4SI|lj02:\
> :af=/usr/adm/lpacct:\
> :ct=remote:\
> :if=/usr/lbin/hplaserpsof:\
> :lf=/usr/adm/lpderr:\
> :mx#0:\
> :of=/usr/lbin/hplaserpsof:\
> :pl#66:\
> :ps=LPS:\
> :pw#80:\
> :rm=aaa.bbb.ccc.ddd:\
> :rp=text:\
> :rw:\
> :sd=/usr/spool/lpd/lj02:\
> :sh:\
> :xf=/usr/lbin/xf:
> #
> # lpc stat lj02 (on A)
> lj02:
> printer is on remote host aaa.bbb.ccc.ddd with name text
> queuing is enabled
> printing is enabled
> no entries
> no daemon present
> #
> # lpc stat lj02 (on B)
> lj02:
> printer is on device '/dev/lp' speed -1
> queuing is enabled
> printing is enabled
> 1 entry in spool area
> no daemon present
> #
> Jasper.
My /etc/printcap entry are:
Node_1 = printer "laser_jet" connected to parallel port lp0
======
lp|lp0|0|laser_jet:\
:af=/usr/adm/lpacct:\
:if=/usr/lbin/ps_level2of:\
:lf=/usr/adm/lp0err:\
:lp=/dev/lp0:\
:mc#20:\
:mx#0:\
:of=/usr/lbin/ps_level2of:\
:pl#72:\
:pw#80:\
:sd=/usr/spool/lpd0:\
:sh:\
:xf=/usr/lbin/xf:
Entry in file /etc/hosts.equiv
#
# *****************************************************************
# * *
# * Copyright Compaq Computer Corporation, 2001 *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Compaq *
# * Computer Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Compaq Computer *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
#
# HISTORY
#
# @(#)$RCSfile: hosts.equiv,v $ $Revision: 1.1.5.2 $ (DEC) $Date:
1993/10/29 19:37:05 $
#
# Description: The hosts.equiv file contains a list of trusted hosts.
# It is used by the rsh, rlogin and rcp commands.
#
# Warning: Listing hosts in this file can compromise system security.
# Include host names and user names in this file with caution.
#
# Syntax: host1 [login_1]
# .
# .
# .
# host1 [login_n]
#
# host1 name of a host considered trusted by the local system
# [login_n] individual user on the trusted host that can log in
# without a password; if no users are specified then all
# users on the trusted host can log in without a password
#
# A single plus sign (+) on a line by itself signifies "match any".
# "Match any" implies *all* hosts are considered trusted. Because
# of the security ramifications of this uncommenting the NO_PLUS
# keyword in the following line, globally turns off "match any".
NO_PLUS
Note_1
Note_2
-------------------------------------------
Node_2
======
lp1|1|laser_jet:\
:lf=/usr/adm/lp1err:\
:lp=:\
:rm=Node_1:\
:rp=laser_jet:\
:sd=/usr/spool/lpd1:\
:sh:
hope this helps.
Joerg-Uwe
--
Joerg-Uwe Tessmer Universitaet Potsdam
Tel.: +49+331-9771613 Institut fuer Physik
Fax.: +49+331-9771142 Lehrstuhl Nichtlineare Dynamik
https://www.agnld.uni-potsdam.de/~joerg
prev parent reply other threads:[~2003-07-03 12:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-03 11:15 Printing to remote IP problem JasperH
2003-07-03 12:56 ` Joerg-Uwe Tessmer [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