ntvdmx64 icon indicating copy to clipboard operation
ntvdmx64 copied to clipboard

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

Open PeterAdelaide opened this issue 4 years ago • 2 comments

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

PeterAdelaide avatar Aug 17 '21 01:08 PeterAdelaide

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.

leecher1337 avatar Sep 02 '21 21:09 leecher1337

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

theliz12x avatar Feb 02 '24 10:02 theliz12x