home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / networki / 2196 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  2.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!olivea!isc-br!tau-ceti!comtch!mstaben
  2. From: mstaben@comtch.spk.wa.us (Matthew Staben)
  3. Newsgroups: comp.os.os2.networking
  4. Subject: Re: Word 2.0 Crashing Novell Driver
  5. Message-ID: <R6RJuB2w165w@comtch.spk.wa.us>
  6. Date: 20 Nov 92 17:09:02 GMT
  7. References: <1992Nov19.202820.7798@dialogic.com>
  8. Sender: bbs@comtch.spk.wa.us (Waffle bbs)
  9. Organization: Waffle BBS at CompuTech Spokane, Washington
  10. Lines: 46
  11.  
  12. gerry@pizzabox.dialogic.com (Gerry Lachac) writes:
  13.  
  14. > I run Windows in a full screen session under OS/2 2.0 (no service
  15. > pack).  Now that I have Novell running, whenever I attempt to do an
  16. > Open or a Save As (i.e. bring up the file requestor) in Word for
  17. > Windows 2.0, I get a GP fault in the Novell driver and I must shut
  18. > down Word.  
  19. > Does anyone know how to get around this???  It's really annoying since
  20. > Word works without Novell, and I hate rebooting just to print.
  21.  
  22.  
  23. The NWREQ$ driver fault is probably what you're talking about.  The only 
  24. way to get around this is to create a private session, load NETX, login, 
  25. and then with the compatibility offered in a private session - this will 
  26. not happen.  The following code fragment exemplifies this:
  27.  
  28. - SET CAPTURE QUEUE - 
  29.  
  30.  
  31.         mov     ah, 0B8h
  32.         mov     al, 06h
  33.         mov     dh, 0h  ; (LPT DEVICE, 0 for LPT1, 1 for LPT2, etc)
  34.         mov     bx, [ds:queidhigh]      ; first word of double word
  35.         mov     cx, [ds:queidlow]       ; second word of double word
  36.         int     21h
  37.  
  38.         mov     ah, 4Ch
  39.         int     21h
  40.  
  41. By assembling the code fragment above, and substituting a valid netware
  42. queue ID (this can be found in PCONSOLE) for BX and CX, you can set the
  43. queue to any printer on the network.  The queue ID is a high-low 
  44. (low-endian?) thingy... (by assembling...and executing) the code you can 
  45. be guaranteed an OS/2 TRAP if used in global mode, but if used in a 
  46. private mode - it will actually work.
  47.  
  48. Hope this technical diatribe helps.
  49.  
  50. Matt
  51.  
  52.  
  53. mstaben@comtch.spk.wa.us
  54.  
  55. [Made in America]
  56.