leecher1337 / ntvdmx64

Run Microsoft Windows NTVDM (DOS) on 64bit Editions
784 stars 81 forks source link

NET USE LPT1: Write fault error writing device LPT1, Abort, Retry, Ignore, Fail #146

Open PeterAdelaide opened 2 years ago

PeterAdelaide commented 2 years ago

From a command prompt I issue the following without errors:

NET USE LPT1 : /DELETE NET USE LPT1: "\Computername\Printername" /YES To confirm the connection, I typed "DIR >LPT1", the printer responded by printing the current directory

Fails with (Write fault error writing device LPT1, Abort, Retry, Ignore, Fail) Win10-64bit

image

leecher1337 commented 2 years ago

Cannot reproduce this with a recent build.

When using your test program in Turbo C, Yoda tells me:

Loading [C:\TEMP\TC\BIN\NONAME00.EXE]
VDM ModLoad: C:\TEMP\TC\BIN\NONAME00.EXE => segment 779, len=2200
Opening printer port LPT1 (0)
Closing printer port (0)
Counter expired, closing LPT1
Freeing [C:\TEMP\TC\BIN\NONAME00.EXE]

I redirected LPT1 and output went through flawlessly. Tested on Windows 7 x64.

theliz12x commented 5 months ago

Hi @leecher1337 i have the same issue under Win11 just wanted to report you, i've added a post on another issue. i do not receive any error like "Write fault error writing device LPT1, Abort, Retry, Ignore, Fail" just the application get stuck i have to press some keys like the application goes on but no error come and no print starts