home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!jato!huey!brad
- From: brad@huey.Jpl.Nasa.GOV (Brad Hines)
- Subject: Re: Device Driver Questions
- Message-ID: <BxBvy7.oq@huey.jpl.nasa.gov>
- Sender: news@huey.jpl.nasa.gov
- Nntp-Posting-Host: huey
- Reply-To: brad@huey.Jpl.Nasa.GOV
- Organization: JPL Spatial Interferometry Group
- References: <1992Nov05.222315.29019@bnr.ca>
- Date: Sat, 7 Nov 1992 04:18:07 GMT
- Lines: 43
-
- >In article <1992Nov05.222315.29019@bnr.ca>, ctjones@bnr.ca (Clifton Jones) writes:
-
- >When I start NT, the printer never sends data. It seems to be waiting forever.
- >(I think that its looking on IRQ7.)
- >The soundblaster driver will not install on IRQ7 because it says its already
- >in use. (Thats why I think that the print driver is on IRQ7).
- >
- >This setup is a result of soundblaster needing IRQ7 for historical
- >compatibility. This setup works for SCO Unix, MSDOS 5.0, OS/2 2.0.
-
- I had the same problem. The problem is that LPT1 uses IRQ7, and so does
- the Soundblaster. I'm not sure why NT cares about this when other
- multitasking environments don't (for robustness, I guess?), but you
- need to change one of the devices to make things work.
-
- At first, I changed the Soundblaster to IRQ5 (normally used by LPT2),
- but, for the historical reasons you mentioned, that wasn't so great.
-
- So I changed my parallel port card to be LPT2 (changed it to be
- what the card refers to as LPTB, and changed it from IRQ7 to IRQ5).
- That made everything work great. Now the soundblaster is happy and so
- is printing under NT (you have to use print manager to reconfigure your
- printer to be on LPT2 instead of LPT1).
-
- When you go back to DOS, however, LPT2 exists but is not the default
- printer (that is, the PRN device does not refer to LPT2). So, the first
- time you run the print command, when it asks "Output device [PRN]:" or
- some similar thing, you should answer "LPT2". Then printing will be fine
- from then on. Alternatively, use "print /D:LPT2" the first time you run
- print. I have added the line "loadhi print /D:LPT2" to my autoexec.bat
- file to load the TSR portion of print and initialize it to LPT2 at boot
- time.
-
- Of course, if you are already using LPT2 in your system, then none of this will
- work.
-
- [BTW, this message is being sent by both email and by netnews, since you
- asked for it by mail but others might find this useful.]
-
- --
- Brad Hines
- Internet: brad@huey.jpl.nasa.gov
- Jet Propulsion Lab, Pasadena, California
-