Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exception 10h well after report hhas printed
Message
From
31/10/2000 09:44:25
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00436166
Message ID:
00436334
Views:
18
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
Map
View

Click here to load this message in the networking platform