Hi,
I recently had the same problem and the resolution (there is a lengthy thread on the topic) for me was to include the following lines:
* Call to the _fpreset() function in msvcrt20 to correct a division by zero
* problem caused by some HP printers
declare _fpreset in msvcrt20
and then the following after each print or preview:
=_fpreset()
This solution is offered by Microsoft and is apparently due to a division by 0 error that occurs after the printing/previewing using newer HP printers.
Another workaround I used in conjunction was to use older HP drivers for the newer printers.
Ashley
>>>It's possible. HP drivers and VFP have never gotten along very well. Then again, it's not just VFP. Their plotter drivers (and printers, too!) used to have all kinds of problems with AutoCAD. We've been out of that business for quite awhile now, but that was through release 13 there were major problems. We usually had to use other plotter/printer drivers (give up features) or wait for AutoDesk to come out with their own driver for the device. HP could never get it right, even though they'd come out with a new version about every 3 weeks or so. Great hardware, lousy software.
>>
>>Hi Fred,
>>
>>Well this is a strange one. It happen primarily on HPs that are in heavy use. Somehow they lock us my app -- even if only previewing the report rather than actually printing it.
>>
>>If I don't need access to the menus right away, it's fine since the problem eventually goes away. Quite odd!!
>>
>>regards,
>
>
>Previewing a report still uses the printer driver. Maybe the driver is trying to actually comunicate with the printer, and if it's currently in use, there might be some kind of problem. This is purely a guess on my part, but with all the new features that require feedback from the hardware, it certainly sounds like a possiblility.
>
>I personally never saw the menu problem go away on it's own, but then maybe I just wasn't patient enough to wait it out!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement