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

  1. Xref: sparky comp.os.os2.misc:40469 comp.sys.ibm.pc.hardware:34272 comp.os.msdos.misc:6729
  2. Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!ochealth
  3. From: ochealth@unixg.ubc.ca (ochealth)
  4. Newsgroups: comp.os.os2.misc,comp.sys.ibm.pc.hardware,comp.os.msdos.misc
  5. Subject: Re: Question about Parallel Port, please read
  6. Date: 28 Dec 1992 07:45:06 GMT
  7. Organization: University of British Columbia, Vancouver, B.C., Canada
  8. Lines: 31
  9. Message-ID: <1hmba2INN7jk@iskut.ucs.ubc.ca>
  10. References: <RiscwB1w165w@tcscs.UUCP> <4825@cruzio.santa-cruz.ca.us> <BzxDM2.L4z@mccc.edu>
  11. NNTP-Posting-Host: unixg.ubc.ca
  12.  
  13. In article <BzxDM2.L4z@mccc.edu> pjh@mccc.edu (Pete Holsberg) writes:
  14. >Speaking of parallel ports, the one on the multifunction card I just got
  15. >has a jumper for "TRUELY BI-DIRECTIONAL" operation where the
  16. >"...direction is controlled by printer 'CONTROL' register as follows:
  17. >    bit 5 of CONTROl register
  18. >        1    input
  19. >        2    output"
  20. >
  21.  
  22. how can bit 5 have a value of 2? 
  23. Do you mean bits 5 and 6?
  24.  
  25. >If I set the jumper for bidirectional operation, am I depending on the
  26. >printer electronics to set that bit correctly? Do all printers do it
  27. >correctly? 
  28. >
  29.  
  30. There are three ports that control the printer port:
  31. for lpt1, there is port 378h (data) and 379h and 37Ah for other stuff.
  32. Since bit 5 is assigned at 379, and bit 5 isn't used for 37A, I guess
  33. the control bit is at port address 37A.
  34.  
  35.  
  36. >Thanks and happy holidays.
  37.  
  38.  
  39. -- 
  40. ______________________________________________________________________________
  41. ochealth@unixg.ubc.ca         
  42.                             
  43.                                                       
  44.