Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Error loading printer driver
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
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