Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
GPFs when printing to Acrobat driver
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
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