General information
Category:
Reports & Report designer
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only