home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / os2 / programm / 7201 < prev    next >
Encoding:
Internet Message Format  |  1992-12-25  |  1.2 KB

  1. Path: sparky!uunet!wupost!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth
  2. From: ochealth@unixg.ubc.ca (ochealth)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Control of Parallel port?
  5. Date: 25 Dec 1992 22:40:02 GMT
  6. Organization: University of British Columbia, Vancouver, B.C., Canada
  7. Lines: 22
  8. Message-ID: <1hg2k2INNo95@iskut.ucs.ubc.ca>
  9. NNTP-Posting-Host: unixg.ubc.ca
  10.  
  11.  
  12. I would like to direct input/output of the LPT port bits (in Gnu C).
  13. I looked in the OS/2 1.3 online programmer's ref. and I can't see anything
  14. about this. (like through DosDevIOCtl)
  15.  
  16. Any ideas or pointers? I would rather not write a device driver, and I
  17. would like to be able to temporarily suspend normal OS/2 spooling and
  18. LPT activity, while I do IO through the parallel port. Can I lock it
  19. out?
  20.  
  21. Another thing: normal printer ports have only 5 input bits, but I heard that
  22. some newer printer port hardware have more inputs. Anyone know: the port
  23. address, offset and bit where these other ports live? And what physical
  24. pin do they live at?
  25.  
  26.  
  27. thanks
  28. -- 
  29. ______________________________________________________________________________
  30. ochealth@unixg.ubc.ca         
  31.                             
  32.                                                       
  33.