home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / ultrix / 6789 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.6 KB  |  58 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!utcsri!torn!csd.unb.ca!morgan.ucs.mun.ca!jeeves.engr.mun.ca!lloyd
  3. From: lloyd@jeeves.engr.mun.ca (Lloyd Little)
  4. Subject: Re: Problems with printing over lat
  5. Message-ID: <lloyd.716052207@femto.engr.mun.ca>
  6. Keywords: printing, lat
  7. Sender: usenet@morgan.ucs.mun.ca (NNTP server account)
  8. Reply-To: lloyd@jeeves.engr.mun.ca
  9. Organization: C-CAE, Memorial University of Newfoundland
  10. References: <1992Sep3.160601.14744@mother.bates.edu>
  11. Date: Wed, 9 Sep 1992 15:23:27 GMT
  12. Lines: 44
  13.  
  14. rob@mother.bates.edu (Rob Spellman) writes:
  15.  
  16. >I have been trying to setup a print service over lat.  I can print
  17. >fine for a while, and then I get errors in /usr/adm/lpd3-err.  The error is:
  18.  
  19. >/usr/lib/lpd: test: cannot open /dev/tty17: Can't assign requested address
  20.  
  21. ># @(#)printcap    4.1 (ULTRIX) 7/2/90
  22. >lp3|3|test:\
  23. >    :af=/usr/adm/lp3acct:\
  24. >    :ct=lat:\
  25. >    :lf=/usr/adm/lpd3-err:\
  26. >    :lp=/dev/tty17:\
  27. >    :of=/usr/lib/lpdfilters/ds400-ascii:\
  28. >    :op=PORT_40:\
  29. >    :os=:\
  30. >    :pl#24:\
  31. >    :pw#80:\
  32. >    :sd=/usr/spool/lpd3:\
  33. >    :ts=ELG_EQUINOX:
  34.  
  35. >and the entry from rc.local:
  36.  
  37. >[ -f /usr/etc/lcp ] && {
  38. >    /usr/etc/lcp -s \
  39. >        -h /dev/tty17 \
  40. >        & echo -n ' LAT'            >/dev/console
  41. >}
  42. >-- 
  43. >Rob Spellman
  44.  
  45. I had problems with LAT printing as well. Assigning the port to the server at
  46. LAT startup time fixed the problem. In your case, the rc.local should contain
  47.  
  48. /usr/etc/lcp -s -h /dev/tty17:ELG_EQUINOX:PORT_40
  49.  
  50. and remove the op,os,ts,ct entries from printcap.
  51. Hope this works! (it did for me.... :-)
  52. Lloyd 
  53. --
  54. Lloyd Little        Programmer Consultant CCAE
  55.             Memorial University of NFLD. Canada
  56.             (709) 737-3108
  57. lloyd@femto.engr.mun.ca
  58.