Hello ehpt
quote:
"I have tried using the ORARRP tool. But this tool is not invoked when you are invoking reports thru a URL."
That is not correct. Let me tell you how I use it:
1. at runtime, according to some user selections, I build a url to call web reports. I use desformat=pdf, paramform=html and some other settings;
2. IF the user selects "printer" rather than "screen" as as destination of the report I build the parameter destype=FILE+desname=/MyMountPoint/MyDir/MyReport.rrpa and run the web report.
3. The report's CGI runs the report, writes it in pdf format but the file's extension is, in my case, "rrpa".
(I get a notification saying that the report was sucessfull written to the requested destination)
4. With a few timers and host commands I check whether the file that I asked for exists or not and if it exists I point a URL to the new-generated-file and call it with a WEB_SHOW_DOCUMENT;
5. My browser tries to open a file with a registered extension of "rrpa" and, because that mime-type is registered with ORARRP, the tool is invoqued and the report PRINTS to a LOCAL printer;
6. Dont let the example in orarrp.pdf misled you: they present us with an example of RUN_REPORT_OBJECT, but remember that there is more than one way to do it
Best Luck