Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GPFs when printing to Acrobat driver
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
GPFs when printing to Acrobat driver
Divers
Thread ID:
00410226
Message ID:
00410226
Vues:
58
I am using WestWind's acrobat printer wrapper class to print VFP6 reports to the PDF printer driver. Everything works fine if i print just one report. But i have an option that calls multiple REPORT FORM commands at a time - one right after another. If i print more than one (ie. i call REPORT FORM back to back), my PC GPFs everytime. The blue screen of death.

I believe its a timing issue with the driver. Apparently it creates a temp file and then performs some file renaming tasks before printing. Here is the code i use:

SET PROCEDURE TO WWAPI ADDITIVE
SET PROCEDURE TO WWPDF ADDITIVE
oPDF=CREATE('wwPDF40')
llOutDir = 'C:\TEMP\'
llOutFile = ALLTRIM(thisform.zCloseAuditDir)+'\audcov.pdf'
llResult = oPDF.PrintReport('audcov.frx','&llOutFile','')

If i then print another report (before the other finishes - i think), the PC gpfs.

I have contacted the Amuyuni company and i recall that their driver only works with NT opsys.

Has anyone encountered the same problem? Have u found a workaround?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform