>I have numerous users with HP Deskjet printers. Found workaround here on UT by adding the following code:
>
>declare _fpreset in msvcrt20
>and then the following after each print or preview:
>=_fpreset()
>
>I have a #include devInclude.h in all my forms & programs:
>Can I add the following?
>#DEFINE HP_ON declare _fpreset in msvcrt20
>#DEFINE HP_OFF =_fpreset()
>
>Then go to my programs that call reports and add:
>HP_ON
>report form blah blah blah
>HP_OFF
>
>Will that work? I don't have HP printers to test with. Sure will help if they fix it, then I can simply fix my defines to
>#DEFINE HP_ON .t.
>#DEFINE HP_OFF .t.
>
>Robert
Robert,
It could work as long as defines are in scope during compilation at all places where you use HP_ON and HP_Off. Instead having HP_ON/OFF as functions might be better ?
Cetin