Problem solve Get help with specific problems with your technologies, process and projects.

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.

Dig Deeper on Windows client management

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.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.