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