Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error loading printer driver
Message
From
30/10/2010 18:31:30
 
 
To
30/10/2010 18:27:51
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01487656
Message ID:
01487657
Views:
74
>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

Did you have at least one printer installed?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform