- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have used Steve Lionel's Fortran_winPrint under Windows 98SE with no problems, but, when using the same code on Windows 2000, I get a "StartDoc failed, code=6" error and the program hangs.
Before I start troubleshooting, I'd like to know whether Fortran_WinPrint has any problems with Windows 2000.
Before I start troubleshooting, I'd like to know whether Fortran_WinPrint has any problems with Windows 2000.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I developed it on Windows 2000. That should tell you something...
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Don't have Winprint.f90 at hand, but FYI, error 6 is "invalid handle", suggesting that printer DC was not created, which probably means that the printer wasn't connected or some similar problem.
Jugoslav
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure your printer is set to allow spooling. I recall a customer who had a similar problem - turned out he had disabled print spooling for the printer, and apparently that caused this symptom.
Steve
Steve

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