home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / protocol / tcpip / ibmpc / 4882 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.8 KB

  1. Path: sparky!uunet!olivea!news.bbn.com!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!FTP.COM!jbvb
  2. From: jbvb@FTP.COM ("James B. Van Bokkelen")
  3. Newsgroups: comp.protocols.tcp-ip.ibmpc
  4. Subject: Re: lpr on ISC 3.2 & PCTCP 2.05
  5. Message-ID: <9208251319.AA21853@ftp.com>
  6. Date: 25 Aug 92 13:19:35 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Reply-To: jbvb@ftp.com
  9. Organization: The Internet
  10. Lines: 31
  11.  
  12.  
  13.     .... I have to insert my workstation name in the file 'hosts.lpd' which
  14.     I did. I tried with the name 'PC2' or with the complete domain
  15.     'PC2.syner.net' or even with the IP... no go.
  16.  
  17. We mention "/etc/hosts.lpd" in our manuals because many 4bsd-derived systems
  18. use that file.  No guarantee your ISC does unless their manual says so.  I've
  19. seen other systems that required all LPR clients to be in "/etc/hosts.equiv",
  20. but I can't recommend that for routine operations.
  21.  
  22. Another point is that the entry in /etc/hosts.lpd has to exactly match
  23. (case included) the "canonical" name (the first one on the line after
  24. the IP address) in /etc/hosts (same as a ".rhosts" file).  I've no
  25. idea if the match becomes case-insensitive if you build your Unix
  26. daemons to use DNS instead of the host table...
  27.     
  28.     I tried to configure /etc/printcap in this other way:
  29.     
  30.     lp|TI laser:\
  31.       :lp=:rm=isc1:rp=lp:sd=/usr/spool/lpd/lp:
  32.     
  33.     isc1.syner.net being my UNIX server.
  34.  
  35. If I recall printcap syntax correctly, you're telling it that the server is
  36. on "isc1", so it will try to open a TCP connection, even though it is on the
  37. same host.  Seems to me this *ought* to work, so maybe you aren't starting
  38. your daemons correctly.  Still, this isn't the way I've seen it done when
  39. the printer is directly attached.
  40.  
  41. James B. VanBokkelen        26 Princess St., Wakefield, MA  01880
  42. FTP Software Inc.        voice: (617) 246-0900  fax: (617) 246-0901
  43.