home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sal.wisc.edu!alan
- From: alan@sal.wisc.edu (Alan Watson)
- Subject: Re: /dev
- Message-ID: <1992Dec23.061129.21929@sal.wisc.edu>
- Organization: Space Astronomy Lab, Madison WI
- References: <1h3m36INNd4l@usenet.INS.CWRU.Edu> <1h57c2INNhsi@chnews.intel.com> <1h8u8sINNdcj@usenet.INS.CWRU.Edu>
- Date: Wed, 23 Dec 1992 06:11:29 GMT
- Lines: 8
-
- In article <1h8u8sINNdcj@usenet.INS.CWRU.Edu> cq377@cleveland.Freenet.Edu (David C. Williss) writes:
- >
- >Thanks for all the suggestions. popen looks like my best bet. Unless
- >somebody can give me advice on how to determine which to use (lp/lpr),
- >I'll just make it an option.
-
- Well, you might try to popen("lpr"), and if that fails then try to
- popen("lp"). That should work if at least one of them is available.
-