X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: PaulCsouls Newsgroups: comp.os.msdos.djgpp Subject: Re: Parallel Port in Win 2000 Message-ID: References: <4281c46c$1 AT news DOT infonet DOT ee> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 25 Date: Wed, 11 May 2005 20:20:49 GMT NNTP-Posting-Host: 12.72.220.65 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1115842849 12.72.220.65 (Wed, 11 May 2005 20:20:49 GMT) NNTP-Posting-Date: Wed, 11 May 2005 20:20:49 GMT Organization: AT&T Worldnet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 11 May 2005 11:37:58 +0300, "Tõnu Aas" wrote: >> I've written some programs that use the Parallel Port and work well >> in Win 98, but do not work in Win 2000. I've read in the FAQ about >> some glitches with the serial port in NT. Do these apply in Win 2000? >> Can I access LPT1 from a DOS box in Win2000? > > Yes you can. NTVDM emulates LPT port for DOS programs. >As it does in Win98 (its not named ntvdm under 98), >but NT family does it a bit strange: all access to LPT are done >after VM destrcution. So all printing will be done after program exit. > >Tõnu. > > After the program exits or after the exiting the DOS window? The command right now is simply 'gmux 1 2 3' where the first number is bits 5 and 4, the second is bits 3 and 2 and the last is bits 1 and 0. The program then exits and we see no change on the parallel port. I haven't looked for what happens after closing the DOS window Thanks Paul.