Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error loading printer driver
Message
De
30/10/2010 18:27:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Error loading printer driver
Divers
Thread ID:
01487656
Message ID:
01487656
Vues:
248
I followed the instructions on MSDN to be able to include the _reportoutput app with my app... basically included frxoutput.prg in the project and rebuild it. my intention was to simply generate html output which gets then sent back to the user...
I guess I must specify what this app is...is a COM server called via foxisapi from webpages. Prior to this I was using a PDF (adobe) generator and basically showing the PDF as a response, however when I saw that I can output html...
the app runs as IUSR ( configured to execute as the launching user) and the piece of code is like below:



SET REPORTBEHAVIOR 90

_REPORTOUTPUT = "frxoutput.prg"
#DEFINE OUTPUTAPP_CONFIG_READ -200
DO (_REPORTOUTPUT) with OUTPUTAPP_CONFIG_READ, "_reportoutputconfig"
loListener = .NULL.
do (_reportoutput) with 5, loListener

loListener.TargetFileName = lcTFile &&& gets fed through as a parameter , basically points to windows/temp
loListener.QuietMode = .T.
cexec="Report Form "+Alltrim(lcReport)+" object loListener"

&cexec


No matter what I do , I consistently get a "1958 - Error loading printer driver. - .NULL. - "

I checked my test report doesn't have the printer environment saved

Please help?


thanks much, alex s
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform