home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / wizards / 5306 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.0 KB

  1. Path: sparky!uunet!olivea!pagesat!spssig.spss.com!uchinews!machine!chinet!les
  2. From: les@chinet.chi.il.us (Leslie Mikesell)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: /dev
  5. Message-ID: <BzMu79.F3M@chinet.chi.il.us>
  6. Date: 21 Dec 92 23:21:08 GMT
  7. References: <1h3m36INNd4l@usenet.INS.CWRU.Edu> <1h57c2INNhsi@chnews.intel.com>
  8. Organization: Chinet - Public Access UNIX
  9. Lines: 16
  10.  
  11. In article <1h57c2INNhsi@chnews.intel.com> bhoughto@sedona.intel.com (Blair P. Houghton) writes:
  12.  
  13. >>  1.  Should I look at the /etc/printcap file to find printers?
  14. >
  15. >Look at the PRINTER environment variable (RTFM getenv(3)),
  16. >and then check the printcap(5) and use the first printer
  17. >you find there.  That is, *if* the machine has a printcap
  18. >(AIX does not; it uses a thing called "qconfig.")
  19.  
  20. Blatent BSDism here.  SysV(pre-r4) doesn't have printcap or lpr and
  21. has no convention for a PRINTER variable.  Besides, even if lpr
  22. and printcap exist on a machine it doesn't automatically mean that
  23. it's the spooler I want to use.
  24.  
  25. Les Mikesell
  26.   les@chinet.chi.il.us 
  27.