[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference kernel::unix_printing

Title:Printing from UNIX
Moderator:KERNEL::COFFEYJ
Created:Thu Dec 17 1992
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:956
Total number of notes:2876

383.0. "Remote printing to/from OSF/1" by CFSCTC::CERNESE (Dan, Agglutinator, COHESION SEE Engineering) Sat Oct 01 1994 00:32

T.RTitleUserPersonal
Name
DateLines
383.1One down, one to goCFSCTC::CERNESEDan, Agglutinator, COHESION SEE EngineeringSat Oct 01 1994 00:495
383.2dunno, but it works now,CFSCTC::CERNESEDan, Agglutinator, COHESION SEE EngineeringSat Oct 01 1994 00:545
383.3ROOK::GLEESONMs. DvorakMon Oct 03 1994 17:379
383.4OSF/1 V2.0CFSCTC::CERNESEDan, Agglutinator, COHESION SEE EngineeringTue Oct 04 1994 20:416
383.5HELP! Problem printing from some local systems, not othersCADSYS::MEREBWed Apr 09 1997 21:3527
I am having problems printing from a couple of machines via a 
remote system (not a boot server).

The remote system has all nodes in its /etc/hosts.lpd file
yet only 2 out of the 5 nodes in the hosts.lpd file have problems:

Warning: simxx.hlo.dec.com does not have access to remote printer lps20e10
(I also get the "waiting for queue to be enabled on simsrv" message,
but I believe it's related.)

/etc/printcap files have similar setups for working/non-working
systems.

The remote system is running Digital UNIX 3.2
The systems that have a problem are running 3.2D 
The systems that are able to print are  running 3.2 and 4.0

All systems can get to the printer via another remote system (4.0A)

lpsof ownership is the same on all systems.

Am I missing something? Is there something else involved in the 
access to a printer?

Thanks,

Janine
383.6case sensitive or domain .v. nodomain?KERNEL::COFFEYJLa Feline Flooz - a unix catThu Apr 10 1997 14:077
There's some sensitivity around how (I think) gethostbyname() works
in that the order and case in /etc/hosts is significant. 

On the central machine which the others are trying to access 
double check that the first entry after the address in /etc/hosts
is the same as in /etc/hosts.lpd and the same  asthe remote machines
are identifying themselves as. 
383.7it works!CADSYS::MEREBThu Apr 10 1997 19:429
Thanks,

One of the systems had an alias before the full name in /etc/hosts
while in /etc/hosts.lpd there is only the full name.

After rearranging the order to have the full name right after the 
IP address in /etc/hosts, it worked fine.

Janine