- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
While running the 'Forprint' sample program, I get the DELL error "Initialization of the dynamic link library I:WINNTSystem32spoolDRIVERSW32X862hpbfff0.dll failed. The process is terminating abnormally."
This occurs in the function "Print_Unit' in the Fortran_Winprint' module at the line Last_Error = PrintDlg (PRINTDLG_Strut)'. Last_Error returns a value of one. The program still works, i.e. the print dialog box pops up, I can select a printer and I still get the file printed. The problem is that I am using a version of this routine in one of my codes and this error later causes my code to lock up and reject any keyboard input after the document is printed. I only see this error when I am in debug mode.
I am running Visual Fortran 6.5A on a Pentium II with NT 4 Service Pack 6. What is causing this error and how do I get rid of it?
Jim Breeding
This occurs in the function "Print_Unit' in the Fortran_Winprint' module at the line Last_Error = PrintDlg (PRINTDLG_Strut)'. Last_Error returns a value of one. The program still works, i.e. the print dialog box pops up, I can select a printer and I still get the file printed. The problem is that I am using a version of this routine in one of my codes and this error later causes my code to lock up and reject any keyboard input after the document is printed. I only see this error when I am in debug mode.
I am running Visual Fortran 6.5A on a Pentium II with NT 4 Service Pack 6. What is causing this error and how do I get rid of it?
Jim Breeding
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looks like a bug in your HP printer driver. At this point, you're calling into the Win32 API, so CVF is out of the picture. I've run this program on HP printers, so it's not generic. Try getting a more recent printer driver and see if that helps.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed the latest drivers from HP. I am still getting the same error.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page