Mail Archives: djgpp/2001/03/27/17:46:45
From: | "BT" <T DOT Harte AT SPAM DOT excite DOT SPAM DOT com DOT SP_AM>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | lpt: and prn: devices
|
Date: | Tue, 27 Mar 2001 23:32:35 +0100
|
Organization: | BT Internet
|
Lines: | 19
|
Message-ID: | <99r4ga$29l$1@plutonium.btinternet.com>
|
NNTP-Posting-Host: | host213-122-229-207.btinternet.com
|
X-Newsreader: | Microsoft Outlook Express 4.72.3155.0
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3155.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
I am writing an emulator, and now have discovered that it would be the most
useful thing in the world to emulate the parallel port of that computer via
the PC's parallel port. Rather than mess about with port numbers and such
like though, I thought I might just use one of the DOS devices lpt: or prn:.
I don't know if these are properly implemented in DOS though, and suspect
like many other things they may be highly dependant on the code that uses
them doing most of the work, hence my post here rather than somewhere else.
So, my questions - assuming I open with fopen :
is there any reinterpretation of bytes sent to these devices? e.g. if I have
an Epson FX and I send Epson FX escape codes, do my Epson FX escape codes
get all the way to my Epson FX?
are (either of) these devices supported in the 'DOS' boxes of NT and 2000?
-Thomas
- Raw text -