home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / wizards / 5312 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.7 KB  |  35 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!paladin.american.edu!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!news!alpha.aosg.gsf.dec.com!gaf
  3. From: gaf@alpha.aosg.gsf.dec.com (Gerald Feldman)
  4. Subject: Re: /dev
  5. Message-ID: <1992Dec22.163544.960@aosg.gsf.dec.com>
  6. Sender: usenet@aosg.gsf.dec.com (USENET News System)
  7. Nntp-Posting-Host: alpha.aosg.gsf.dec.com
  8. Reply-To: gaf@aosg.gsf.dec.com
  9. Organization: Digital Equipment Corporation
  10. References: <1h3m36INNd4l@usenet.INS.CWRU.Edu> <1h57c2INNhsi@chnews.intel.com> <BzMu79.F3M@chinet.chi.il.us>
  11. Date: Tue, 22 Dec 1992 16:35:44 GMT
  12. Lines: 21
  13.  
  14. -- 
  15. There are also some requirements that an application have a "hot"
  16. printer. Certainly using popen() is a very viable solution. For
  17. a converted DOS application it may be reasonable to have a hot printer 
  18. attached to some arbitary port. While it is not the Unix way of doing
  19. thisgs, it is workable:
  20. create a link (say lpt1: ) to the desired printer port. Thus, the MS-DOS
  21. application may not need to change. It can write to what it knows, and
  22. since it is linked to the real device in /dev, it will output to the
  23. physical device in /dev. The down side of this is that the application
  24. would be tieing up a real device. From a purist point of view, it would
  25. be better to spool, but the bottom line may be to get the program
  26. running.
  27. +-------------------------------------------------------------+
  28. Jerry Feldman           AOSG
  29. Mailstop: GSF1-1/K13       DTN:264-5863
  30. Digital Equipment Corp.    EXT:(603)884-5863
  31. 5 Wentworth Drive          ip(DEC): gaf@aosg.gsf.dec.com
  32. Hudson, NH 03051           enet: alpha::gaf
  33.                Internet(HOME):gaf@palantir.newton.ma.us
  34. +-------------------------------------------------------------+
  35.