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

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
  2. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: /dev
  5. Message-ID: <1992Dec22.181954.16625@thunder.mcrcim.mcgill.edu>
  6. Date: 22 Dec 92 18:19:54 GMT
  7. References: <1h3m36INNd4l@usenet.INS.CWRU.Edu> <1h57c2INNhsi@chnews.intel.com>
  8. Organization: McGill Research Centre for Intelligent Machines
  9. Lines: 29
  10.  
  11. In article <1h57c2INNhsi@chnews.intel.com>, bhoughto@sedona.intel.com (Blair P. Houghton) writes:
  12. > In article <1h3m36INNd4l@usenet.INS.CWRU.Edu> cq377@cleveland.Freenet.Edu (David C. Williss) writes:
  13.  
  14. >>  1.  Should I look at the /etc/printcap file to find printers?
  15. > Look at the PRINTER environment variable (RTFM getenv(3)), and then
  16. > check the printcap(5) and use the first printer you find there.
  17. > Or just use lpr(1).
  18. >> [...]
  19. > [I]f [users] have any normal printers to which your output could go,
  20. > they'll have to have a working printcap,
  21. > Or just use lpr.
  22. >>  2.  How do I print to a remote printer[?]
  23. > Barry says to use popen(3) and lpr.  I say, "What he said."
  24.  
  25. Really, Blair, I would expect you to know better.
  26.  
  27. Not everybody even *has* lpr.  Not everybody that has it uses it.
  28.  
  29. They should let the user specify a command.  They may want to let the
  30. installer specify some common commands so the users don't have to
  31. remember them.
  32.  
  33. They should *not* hardwire anything, including "lpr", except as a
  34. last-ditch default.
  35.  
  36.                     der Mouse
  37.  
  38.                 mouse@larry.mcrcim.mcgill.edu
  39.