[fpc-devel]runtime error 101

Peter Vreman peter at freepascal.org
Thu Jan 4 19:47:02 CET 2001


>I have a strange problem here : Converted a turbo pascal program to fpc
>in Win32. It uses the printer unit and writes data to the printer
>with write(lst,...  ( a hp 5L laserprinter ).
>All works fine, but at a certain moment it is printing a logo. When it
>is about half printed, I get a runtime error 101  (???)
>( Printing stops, but when I send a chr(12) to the printer in order to
>eject the page, I see that it was about half printed )
>In dos, this error is usually caused by the fact that the program cannot
>write due to a 'disk full' or so, but in Win32 ???
>In this case, it is writing to lst...
>What could possibly be the reason here ?

Does the program work correct for the go32v2 target as that works more like 
the dos program


Peter





More information about the fpc-devel mailing list