Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing exceptions and the FPU fix
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Printing exceptions and the FPU fix
Miscellaneous
Thread ID:
00688174
Message ID:
00688174
Views:
70
I found this code here on the UT to get around the GPFs we sometimes experience with HP printer drivers. Some of our clients are using a specialty plastic card printer that seems to have the same problem, so we can't just substitute the MS driver for the HP driver to fix it. I see that this code fires in BeforeOpenTables() and AterCloseTables() respectively. Is it OK to move this code outside of the report itself and put it before and after the REPORT FORM command? Unfortunatley, I can't re-produce it here and the clients aren't happy about being guinnea pigs.

Thanks in advance,
Mike


Dataenvironment::beforeopentables
declare _fpreset in msvcrt20.dll && Force on CoProcessor if Printer driver messed with it
= _fpreset()

Dataenvironment::AfterClosetables
declare _fpreset in msvcrt20.dll && Force on CoProcessor if Printer driver messed with it
= _fpreset()
Next
Reply
Map
View

Click here to load this message in the networking platform