Q

Unidentified system error in DOSPRINT.EXE

I found a great utility called DOSPRINT.EXE. It lets my 16-bit application that was created with Microfocus COBOL print to a file and call DOSPrint, which prints the file through the Windows Print Manager, so my DOS application can use USB printers, etc. Under XP, I get this error: "NTDVM has encounter system error, invalid parameter." This only happens when called from a larger print program I wrote. If I call DOSPrint from a program that only calls it, no error results. What's going on?
Your DOSPRINT.EXE has a bug in it. What you are seeing is the NT Virtual DOS Machine (NTVDM) process, which emulates DOS 6.22 and Windows 3.1 for backwards compatibility, reporting the crash in your application. Since you're using Windows XP, you may want to consider looking at a Win32 program, as that will run faster and have support from the developers. I've seen some text file printing programs on Download.com.
This was first published in November 2002

Dig deeper on Windows Operating System Management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close