General information
Category:
Reports & Report designer
Thanks
>>I have been running into Exception 10h errors in my forms made in VFP5 a
>>fter the printing has completed then I click on a spinner or some other object
>>I have the required lines in Beforetableopens property in the report so I don't know what else to do.
>
>>REPORT FORM estrpt TO PRINTER PROMPT NOCONSOLE
>>Just a way to make a hard copy from what is on the screen.
>>
>
>The problem is with the Printer Driver; you're probably using one of HP's drivers. There are several solutions; one method is the _fpreset() call after -every- command that may make a call to the printer driver via the GDI described by Potter Orr. Upgrading to VFP6 SP4 will also get around the problem; there's new code that deals with the printer driver not restoring the FPU to a known state in SP4; I'd suspect it's doing the equivalent of calling _fpreset() automagically.
>
>Another possibility is to switch printer drivers; rather than using the HP-supplied driver, use a compatible MS-supplied driver from an operating system distribution (I've used the HP 4 driver, and ME and Win2K come with an HP 5 driver). The MS drivers don't have the problem that the HP drivers have. They are less 'feature rich', but are much more stable.
>
>AFA printing the screen, check the Files Section here - Steve Ruhl put up a screen print class that works very well.
>
>>The command button after running the report would return back to the estimate number field
>>and gather fresh data.When I click on a spinner I get an Exception 10h.
>>
>>I have run into this before and the only way to make sure it doesn't happen is to exit the program
>>
>>The printer is and HP 5.
>>
>>Any thoughts?
>>
>>
>>Thanks
>>Andy
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only