MIDRANGE dot COM Mailing List Archive

Home » LINUX5250 » April 2003

Re: NEW FEATURE: Print Screens


This prints the screen to your printer using the Windows API's GDI calls,
so it works with whichever print drivers you have installed, as long as
they're capable of printing a bitmap.

Well now that its compiled and I moved those extra libs into my path, tn5250 is running. However I've bumped into another problem :-)

If I try to print I get the error "StartDoc() ended in error". Looking at the source this is when the call to StartDoc() fails. I added in a call to GetLastError, and it comes back as error 3003. Looking this error code up at msdn it says "A StartDocPrinter call was not issued.". Looking at the source I don't see a call to that function. Should there be one? I won't claim to know anything, but if StartDocPrinter isn't needed, any ideas why I get this error?


Steven Kurylo

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact