Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Fortran_WinPrint on Windows 2000

hhurwitz
Beginner
585 Views
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.
0 Kudos
3 Replies
Steven_L_Intel1
Employee
585 Views
I developed it on Windows 2000. That should tell you something...

Steve
0 Kudos
Jugoslav_Dujic
Valued Contributor II
585 Views
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
0 Kudos
Steven_L_Intel1
Employee
585 Views
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
0 Kudos
Reply