Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to prevent GPF error using HP printer drivers

Printers

How to prevent GPF error using HP printer drivers

by  Mike Gagnon  Posted    (Edited  )
This applies to most printers, but HP Printers are notorious for causing GPF will printing.

In your main program, this only need to be declared once:

Code:
DECLARE _fpreset in MSVCRT  && Or MSVCRT10 or MSVCRT20 depending on what is on your system

And BEFORE (not neccessary but good precaution) and AFTER every print jobs use:
Code:
=_fpreset()  && case sensitive
REPORT FORM myReport.frx NOCONSOLE TO PRINTER
=_fpreset()

Mike Gagnon

Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top