I'm using the web-service to render the report with Reporting Services 2000, and I wish to implement client-side printing that will duplicate the functionality you'd ordinarily have using the Report Server.
The main motivation of rendering via the web-service is I can implement security on a per-request basis and completely hide the existence of the report server by doing everything server-side.
Unfortunately I have two problems with the RSClientPrint tool. Firstly, I can't USE it - whether this is a script problem or I don't have it installed properly I don't know. For reference, I have the .CAB file in the same folder and this is the tag I'm using to reference it in my HTML:
<OBJECT ID="RSClientPrint" CLASSID="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" CODEBASE="RSClientPrint.cab" VIEWASTEXT></OBJECT>
And to print I'm using this JavaScript to set properties and call methods, I'd use syntax ie:
RSClientPrint.MarginLeft = 12.7;
However this results in a JavaScript error saying RSClientPrint is undefined. What else do I need to do?
Second concern: will the RSClientPrint require a resolvable, public URL path to the Report Server as parameters for the Print() function? ie the whole reason for using web-services was to hide the report server ...but the print parameters of the RSClientPrint seem to require parameters that're dispatched to the Report Server. I do not want the Report Server publically accessible at all costs. Is this not possible with RSClientPrint?
Hi Philip,
I have the same question with you.
Currently I'm using the IE's printing.
Another way is to render the report as PDF format and using PDF's printing function.
Best regards,
David