Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
#DEFINE question
Miscellaneous
Thread ID:
00182536
Message ID:
00182536
Views:
72
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
Next
Reply
Map
View

Click here to load this message in the networking platform