Showing posts with label rsclientprint. Show all posts
Showing posts with label rsclientprint. Show all posts

Wednesday, March 28, 2012

RSClientPrint.Print method

Does anyone know the ReportService web service API calls that are made by
this method?
RSClientPrint.Print(ReportServerURL, ReportPath, ShortReportNameForPrinter);
RSClientPrint.Print('http://servername/ReportServer',
'%2fReport1%2fSalesOrders', 'SalesOrders');It is using URL access to render a report (
http://msdn2.microsoft.com/en-us/library/ms154493.aspx )
You can see all those requests in IIS log
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"brian" <brian@.discussions.microsoft.com> wrote in message
news:D3AFC98A-CF64-481B-8936-0366DA032CDC@.microsoft.com...
> Does anyone know the ReportService web service API calls that are made by
> this method?
> RSClientPrint.Print(ReportServerURL, ReportPath,
> ShortReportNameForPrinter);
> RSClientPrint.Print('http://servername/ReportServer',
> '%2fReport1%2fSalesOrders', 'SalesOrders');

RSClientPrint.Print

I am having an issue with the RSClientPrint control. We have a .net Proxy
class (ASP.NET handler) which is being called by the RSClientPrint.Print
command, bringing the data from Reporting Services and relaying it back to
the control after regex'ing all the urls to point back to our proxy. The
main reason for this is that Reporting Services will not be available from
the client machine as it's hidden behind a firewall.
When executing the Print function, The printer dialog box is displayed,
which when accepted prints the report just as expected, however once the job
has been sent to the printer an `unknown error` is thrown by the Print
Method which is caught by the activex control, which displays an error
message in the screen stating the print failed. Even though the print
succeeds.
The before and after shot are displayed here:
= = = = = =
BEFORE: RSClientPrint.Print("http://{ourwebmachinename}/ReportServer",
"%2fFolder+1%2fFolder+2%2fReport+1&name=administrator", "Report 1")
AFTER:
RSClientPrint.Print("http://{ourwebmachinename}/{ourapp}/ReportServer.ashx",
"%2fFolder+1%2fFolder+2%2fReport+1&name=administrator", "Report 1")
= = = = = =
Removing our proxy and pointing it directly to Reporting Services works
fine, I am wondering why this message is being displayed at all, and the
really frustrating part is that it is a meaningless error.
What I am looking for is an answer to the following:
1. What exactly is the print method doing?
2. At what points could it fail?
3. Has anyone encountered a similar problem, and how have they resolved it?
Thanks for your TimeHello James,
It seems the data returned by your proxy is a little different from that of
reportserver.
You may want to use some tool to catch the HTTP data and compare with the
one from server. Once the preview mode is initiated or the report is
printed, the control instructs the Report Server to print the report using
the EMF rendering extension.
Thanks & Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--
| From: "James Snape" <jim_snape.at.hotmail.com@.online.nospam>
| Subject: RSClientPrint.Print
| Date: Wed, 10 Aug 2005 14:58:13 +0100
| Lines: 38
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <e5bCOObnFHA.420@.TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: exony-ltd-02.altohiway.com 213.83.66.226
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.sqlserver.reportingsvcs:50071
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| I am having an issue with the RSClientPrint control. We have a .net Proxy
| class (ASP.NET handler) which is being called by the RSClientPrint.Print
| command, bringing the data from Reporting Services and relaying it back
to
| the control after regex'ing all the urls to point back to our proxy. The
| main reason for this is that Reporting Services will not be available
from
| the client machine as it's hidden behind a firewall.
|
| When executing the Print function, The printer dialog box is displayed,
| which when accepted prints the report just as expected, however once the
job
| has been sent to the printer an `unknown error` is thrown by the Print
| Method which is caught by the activex control, which displays an error
| message in the screen stating the print failed. Even though the print
| succeeds.
|
| The before and after shot are displayed here:
| = = = = = =|
| BEFORE: RSClientPrint.Print("http://{ourwebmachinename}/ReportServer",
| "%2fFolder+1%2fFolder+2%2fReport+1&name=administrator", "Report 1")
|
| AFTER:
|
RSClientPrint.Print("http://{ourwebmachinename}/{ourapp}/ReportServer.ashx",
| "%2fFolder+1%2fFolder+2%2fReport+1&name=administrator", "Report 1")
|
| = = = = = =|
| Removing our proxy and pointing it directly to Reporting Services works
| fine, I am wondering why this message is being displayed at all, and the
| really frustrating part is that it is a meaningless error.
|
| What I am looking for is an answer to the following:
| 1. What exactly is the print method doing?
| 2. At what points could it fail?
| 3. Has anyone encountered a similar problem, and how have they resolved
it?
|
| Thanks for your Time
|
|
||||Thanks Peter I'll give that a go!
"Peter Yang [MSFT]" <petery@.online.microsoft.com> wrote in message
news:0P9fa6hnFHA.3472@.TK2MSFTNGXA01.phx.gbl...
> Hello James,
> It seems the data returned by your proxy is a little different from that
> of
> reportserver.
> You may want to use some tool to catch the HTTP data and compare with the
> one from server. Once the preview mode is initiated or the report is
> printed, the control instructs the Report Server to print the report using
> the EMF rendering extension.
> Thanks & Regards,
> Peter Yang
> MCSE2000/2003, MCSA, MCDBA
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> --
> | From: "James Snape" <jim_snape.at.hotmail.com@.online.nospam>
> | Subject: RSClientPrint.Print
> | Date: Wed, 10 Aug 2005 14:58:13 +0100
> | Lines: 38
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> | X-RFC2646: Format=Flowed; Original
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> | Message-ID: <e5bCOObnFHA.420@.TK2MSFTNGP09.phx.gbl>
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: exony-ltd-02.altohiway.com 213.83.66.226
> | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
> | Xref: TK2MSFTNGXA01.phx.gbl
> microsoft.public.sqlserver.reportingsvcs:50071
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | I am having an issue with the RSClientPrint control. We have a .net
> Proxy
> | class (ASP.NET handler) which is being called by the RSClientPrint.Print
> | command, bringing the data from Reporting Services and relaying it back
> to
> | the control after regex'ing all the urls to point back to our proxy. The
> | main reason for this is that Reporting Services will not be available
> from
> | the client machine as it's hidden behind a firewall.
> |
> | When executing the Print function, The printer dialog box is displayed,
> | which when accepted prints the report just as expected, however once the
> job
> | has been sent to the printer an `unknown error` is thrown by the Print
> | Method which is caught by the activex control, which displays an error
> | message in the screen stating the print failed. Even though the print
> | succeeds.
> |
> | The before and after shot are displayed here:
> | = = = = = => |
> | BEFORE: RSClientPrint.Print("http://{ourwebmachinename}/ReportServer",
> | "%2fFolder+1%2fFolder+2%2fReport+1&name=administrator", "Report 1")
> |
> | AFTER:
> |
> RSClientPrint.Print("http://{ourwebmachinename}/{ourapp}/ReportServer.ashx",
> | "%2fFolder+1%2fFolder+2%2fReport+1&name=administrator", "Report 1")
> |
> | = = = = = => |
> | Removing our proxy and pointing it directly to Reporting Services works
> | fine, I am wondering why this message is being displayed at all, and the
> | really frustrating part is that it is a meaningless error.
> |
> | What I am looking for is an answer to the following:
> | 1. What exactly is the print method doing?
> | 2. At what points could it fail?
> | 3. Has anyone encountered a similar problem, and how have they resolved
> it?
> |
> | Thanks for your Time
> |
> |
> |
>

RSClientPrint.dll

After importing the RSClientPrint.dll type library into Delphi 7.0
Enterprise. A simple test app which calls then RSClientPrint .Print() method
returns these errors;
Error loading resource libraray. (0x80004002)
&
No such interface supported.Guess we have to get all SOAPed up to get this to work.

RSClientPrint usage

I'm new to the RSClientPrint, so I've read all of the previous posts, the
readme, etc. This may be trivial; however...
If I make a simple call to the Print method, to where does it print? The
client's default printer? My code is as follows
*****
Dim rs As New RSClientPrintLib.RSClientPrint
rs.Authenticate = Convert.ToSByte(False)
rs.Print("http://localhost/reportserver",
"/reports/BidderInvoice&skVehicleNum=" & VehicleNum, "BidderInvoice")
*****
The control is installed, but when the Print method is called, nothing
really happens. The IE progress bar gets about half-way across and the
little MS flag keeps waving. I have full admin rights, and I'm running in a
local intranet zone on the development machine with security settings on low.
Any suggestions? Thanks in advance.
DanielThanks anyway. I figured out another way that works for my app.
Daniel
"dfgconsulting" wrote:
> I'm new to the RSClientPrint, so I've read all of the previous posts, the
> readme, etc. This may be trivial; however...
> If I make a simple call to the Print method, to where does it print? The
> client's default printer? My code is as follows
> *****
> Dim rs As New RSClientPrintLib.RSClientPrint
> rs.Authenticate = Convert.ToSByte(False)
> rs.Print("http://localhost/reportserver",
> "/reports/BidderInvoice&skVehicleNum=" & VehicleNum, "BidderInvoice")
> *****
> The control is installed, but when the Print method is called, nothing
> really happens. The IE progress bar gets about half-way across and the
> little MS flag keeps waving. I have full admin rights, and I'm running in a
> local intranet zone on the development machine with security settings on low.
> Any suggestions? Thanks in advance.
> Daniel|||hi there,
may i ask wat is the solution to ur problem?
cos i also need to call the print method to print my RS.
"dfgconsulting" wrote:
> Thanks anyway. I figured out another way that works for my app.
> Daniel
> "dfgconsulting" wrote:
> > I'm new to the RSClientPrint, so I've read all of the previous posts, the
> > readme, etc. This may be trivial; however...
> >
> > If I make a simple call to the Print method, to where does it print? The
> > client's default printer? My code is as follows
> >
> > *****
> > Dim rs As New RSClientPrintLib.RSClientPrint
> > rs.Authenticate = Convert.ToSByte(False)
> > rs.Print("http://localhost/reportserver",
> > "/reports/BidderInvoice&skVehicleNum=" & VehicleNum, "BidderInvoice")
> > *****
> >
> > The control is installed, but when the Print method is called, nothing
> > really happens. The IE progress bar gets about half-way across and the
> > little MS flag keeps waving. I have full admin rights, and I'm running in a
> > local intranet zone on the development machine with security settings on low.
> > Any suggestions? Thanks in advance.
> >
> > Danielsql

RSClientPrint problem

I'm trying to get client side printing to work in asp.net with reporting services 2005. I've got an aspx page to do printing as described here but when I try to render a report I get the following:

1. Print dialog box appears as expected

2. Press print

3. Dialog box appears saying "Print in progress"

4. After a few seconds another dialog box appears saying there was an error printing the report. Error code is 80004005.

I get the same error if I try to preview instad of print.

The (relevent) code is:

<object id="RSClientPrint" classid="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" codebase="Bin/RSClientPrint.cab#Version=2005,90,1399,0"></object>

<script language="javascript" type="text/javascript">
function printIt() {
RSClientPrint.Print('http://localhost/ReportServer$SQL2005',
'/LMI Reports/GoodsIn&OrderID=1000'),
'Goodsin');
}
</script>

<body onload="printIt()">

Does anybody know what this error is and how I can get the control to work? Its not clear to me what the version on the object statement should be. This example uses the version string from the control but I've also tried 1.0 with the same result. Its also not clear if I should be using RSClientPrint.Authenticate or not. I've tried both true and false with the same result.

Many thanks

Ian

Hi Ian,

I am also getting same problem . do you have any solutions for it ?

suresh babu

|||Ian did you solve this issue?.. if you did it.. please let me know to ayoplac@.hotmail.com
|||No, sadly it was never resolved other than using a different reporting system that actually works.

RSClientPrint problem

I'm trying to get client side printing to work in asp.net with reporting services 2005. I've got an aspx page to do printing as described here but when I try to render a report I get the following:

1. Print dialog box appears as expected

2. Press print

3. Dialog box appears saying "Print in progress"

4. After a few seconds another dialog box appears saying there was an error printing the report. Error code is 80004005.

I get the same error if I try to preview instad of print.

The (relevent) code is:

<object id="RSClientPrint" classid="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" codebase="Bin/RSClientPrint.cab#Version=2005,90,1399,0"></object>

<script language="javascript" type="text/javascript">
function printIt() {
RSClientPrint.Print('http://localhost/ReportServer$SQL2005',
'/LMI Reports/GoodsIn&OrderID=1000'),
'Goodsin');
}
</script>

<body onload="printIt()">

Does anybody know what this error is and how I can get the control to work? Its not clear to me what the version on the object statement should be. This example uses the version string from the control but I've also tried 1.0 with the same result. Its also not clear if I should be using RSClientPrint.Authenticate or not. I've tried both true and false with the same result.

Many thanks

Ian

Hi Ian,

I am also getting same problem . do you have any solutions for it ?

suresh babu

|||Ian did you solve this issue?.. if you did it.. please let me know to ayoplac@.hotmail.com|||No, sadly it was never resolved other than using a different reporting system that actually works.

RSClientPrint problem

I'm trying to get client side printing to work in asp.net with reporting services 2005. I've got an aspx page to do printing as described here but when I try to render a report I get the following:

1. Print dialog box appears as expected

2. Press print

3. Dialog box appears saying "Print in progress"

4. After a few seconds another dialog box appears saying there was an error printing the report. Error code is 80004005.

I get the same error if I try to preview instad of print.

The (relevent) code is:

<object id="RSClientPrint" classid="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" codebase="Bin/RSClientPrint.cab#Version=2005,90,1399,0"></object>

<script language="javascript" type="text/javascript">
function printIt() {
RSClientPrint.Print('http://localhost/ReportServer$SQL2005',
'/LMI Reports/GoodsIn&OrderID=1000'),
'Goodsin');
}
</script>

<body onload="printIt()">

Does anybody know what this error is and how I can get the control to work? Its not clear to me what the version on the object statement should be. This example uses the version string from the control but I've also tried 1.0 with the same result. Its also not clear if I should be using RSClientPrint.Authenticate or not. I've tried both true and false with the same result.

Many thanks

Ian

Hi Ian,

I am also getting same problem . do you have any solutions for it ?

suresh babu

|||Ian did you solve this issue?.. if you did it.. please let me know to ayoplac@.hotmail.com
|||No, sadly it was never resolved other than using a different reporting system that actually works.

RSClientPrint Parameter Issues

Hi All

We're having a technical issue integrating the print reports into the portal. I'm hoping maybe some of your guys can help. We're using the RSClientPrint component to print the reports. The problem appears to be a conflict between the & in the URL and the & in the parameter value's cube reference. Below is an HTML code snippet. The 1st button works fine for us, it prints everything and has no & in the parameter's cube references. The second button references specific User and Employee values and therefore has & in the cube reference and generates an error. We tried encoding the & as &amp; but it did not help. Thanks.

<html>
<body>


<OBJECT ID="RSClientPrint" CLASSID="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3"></OBJECT>

<script type="text/javascript">
function Print(ReportServer, ReportParameters, ReportTitle ) {
RSClientPrint.MarginLeft = .5 * 25.4;
RSClientPrint.MarginTop = .5 * 25.4;
RSClientPrint.MarginRight = .5 * 25.4;
RSClientPrint.MarginBottom = .5 * 25.4;
RSClientPrint.Culture = 1033;
RSClientPrint.UICulture = 1033;
RSClientPrint.PageWidth = 11 * 25.4;
RSClientPrint.PageHeight = 8.5 * 25.4;
RSClientPrint.Authenticate = false;
RSClientPrint.Print(ReportServer, ReportParameters, ReportTitle);
}

</script>


<button onclick="Print('http://localhost/reportserver', '/SA/SA.Report.6.Print&SessionSession=[Session].[Session].[All]&UserUser=[User].[User].[All]&TerritoryIdentifier=[Territory].[Identifier].[All]&EmployeeActiveFlag=[Employee].[Active Flag].[All]&EmployeeIdentifier=[Employee].[Identifier].[All]', 'SA.Report.6');"/>

<button onclick="Print('http://localhost/reportserver', '/SA/SA.Report.6.Print&SessionSession=[Session].[Session].&[1]&UserUser=[User].[User].&[1]&[1]&TerritoryIdentifier=[Territory].[Identifier].[All]&EmployeeActiveFlag=[Employee].[Active Flag].[All]&EmployeeIdentifier=[Employee].[Identifier].&[3356953]', 'SA.Report.6');"/>

</body>
</html>

Regards,

Nanda kumar R

&amp; is the encoding of & in xml, try using %26 which is the Url encoding of &.|||

Hi Daniel Reib,

Its working fine.

Thanks,

Regards,

Nanda kumar R

RSClientPrint Parameter Issues

Hi All

We're having a technical issue integrating the print reports into the portal. I'm hoping maybe some of your guys can help. We're using the RSClientPrint component to print the reports. The problem appears to be a conflict between the & in the URL and the & in the parameter value's cube reference. Below is an HTML code snippet. The 1st button works fine for us, it prints everything and has no & in the parameter's cube references. The second button references specific User and Employee values and therefore has & in the cube reference and generates an error. We tried encoding the & as &amp; but it did not help. Thanks.

<html>
<body>


<OBJECT ID="RSClientPrint" CLASSID="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3"></OBJECT>

<script type="text/javascript">
function Print(ReportServer, ReportParameters, ReportTitle ) {
RSClientPrint.MarginLeft = .5 * 25.4;
RSClientPrint.MarginTop = .5 * 25.4;
RSClientPrint.MarginRight = .5 * 25.4;
RSClientPrint.MarginBottom = .5 * 25.4;
RSClientPrint.Culture = 1033;
RSClientPrint.UICulture = 1033;
RSClientPrint.PageWidth = 11 * 25.4;
RSClientPrint.PageHeight = 8.5 * 25.4;
RSClientPrint.Authenticate = false;
RSClientPrint.Print(ReportServer, ReportParameters, ReportTitle);
}

</script>


<button onclick="Print('http://localhost/reportserver', '/SA/SA.Report.6.Print&SessionSession=[Session].[Session].[All]&UserUser=[User].[User].[All]&TerritoryIdentifier=[Territory].[Identifier].[All]&EmployeeActiveFlag=[Employee].[Active Flag].[All]&EmployeeIdentifier=[Employee].[Identifier].[All]', 'SA.Report.6');"/>

<button onclick="Print('http://localhost/reportserver', '/SA/SA.Report.6.Print&SessionSession=[Session].[Session].&[1]&UserUser=[User].[User].&[1]&[1]&TerritoryIdentifier=[Territory].[Identifier].[All]&EmployeeActiveFlag=[Employee].[Active Flag].[All]&EmployeeIdentifier=[Employee].[Identifier].&[3356953]', 'SA.Report.6');"/>

</body>
</html>

Regards,

Nanda kumar R

&amp; is the encoding of & in xml, try using %26 which is the Url encoding of &.|||

Hi Daniel Reib,

Its working fine.

Thanks,

Regards,

Nanda kumar R

sql

RSClientPrint issue and its resolution

For the record, and for anyone else this issue might affect...
We have an intranet application that uses RSClientPrint to display a
variety of reports from a particular web application. The
RSClientPrint object worked properly on some people's PCs, but on
others it would appear to hang for 15 minutes or more before finally
giving an error message "An error occured during printing.
(0x800C000B).
After scratching our heads over this for 3 business days, we
investigated the difference between those PCs where RSClientPrint
works, and those where it did not work.
The solution is that in IE, HTTP 1.1 must be enabled. In IE, go to
Tools - Options, Advanced tab, and scroll down to HTTP 1.1 settings.
Make sure that "Use 1.1" is checked.Interesting. I'm saving this posting. Not intuitive at all. Thanks for
letting us know.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Rod" <RodEarly@.gmail.com> wrote in message
news:1169568932.741442.177430@.l53g2000cwa.googlegroups.com...
> For the record, and for anyone else this issue might affect...
> We have an intranet application that uses RSClientPrint to display a
> variety of reports from a particular web application. The
> RSClientPrint object worked properly on some people's PCs, but on
> others it would appear to hang for 15 minutes or more before finally
> giving an error message "An error occured during printing.
> (0x800C000B).
> After scratching our heads over this for 3 business days, we
> investigated the difference between those PCs where RSClientPrint
> works, and those where it did not work.
> The solution is that in IE, HTTP 1.1 must be enabled. In IE, go to
> Tools - Options, Advanced tab, and scroll down to HTTP 1.1 settings.
> Make sure that "Use 1.1" is checked.
>|||Hi Rod,
I am having the EXACT same problem you were having except that I have
"Use HTTP 1.1" already checked. Any other ideas?
Thanks,
Brian
"Rod" wrote:
> For the record, and for anyone else this issue might affect...
> We have an intranet application that uses RSClientPrint to display a
> variety of reports from a particular web application. The
> RSClientPrint object worked properly on some people's PCs, but on
> others it would appear to hang for 15 minutes or more before finally
> giving an error message "An error occured during printing.
> (0x800C000B).
> After scratching our heads over this for 3 business days, we
> investigated the difference between those PCs where RSClientPrint
> works, and those where it did not work.
> The solution is that in IE, HTTP 1.1 must be enabled. In IE, go to
> Tools - Options, Advanced tab, and scroll down to HTTP 1.1 settings.
> Make sure that "Use 1.1" is checked.
>

rsclientprint is locking up systems causing reboot HELP

I am using SQL 2005 with reporting services, I have very basic reports, most users can print fine with the print icon in the toolbar, some users get the Blue screen and have to reboot. They have the rsclientprint.dll loaded in the browser, we have deleted it and reloaded, what do I do ?solution is here
http://support.microsoft.com/Default.aspx?kbid=935843

rsclientprint is locking up systems causing reboot HELP

I am using SQL 2005 with reporting services, I have very basic reports, most users can print fine with the print icon in the toolbar, some users get the Blue screen and have to reboot. They have the rsclientprint.dll loaded in the browser, we have deleted it and reloaded, what do I do ?solution is here
http://support.microsoft.com/Default.aspx?kbid=935843

rsclientprint Incompatible between SQL 2000 and 2005

I am unable to print a report from reporting services 2000 and then
from 2005. The rsclientprint file seems to not be compatible with
both. If I delete the file and allow it to reinstall, it will print
fine. But the other version will not.
Is there a rsclientprint.dll that will print both 2000 and 2005 reports
Thank you,
LonRS 2005 Coexisting with RS 2000
I have ran into trouble with printing reports from SQL RS 2005 and
2000. The RSClientPrint is a different version between 2005 and 2000.
The newer 2005 version may be compatible with the 2000, but the 2000
server is looking for its' rsclientprint.dll and throws an error when a
different version is found. I was hoping to maintain the old reports
and develop new reports in the new version. Any suggestion you have on
how to deal with this would be greatly appreciated.

RSClientPrint in FireFox

Hi,

We are using the RSClientPrint component to print reports from our web application. When we use it from IE all works fine. But on using the FireFox the print method fails. I am using following code to print

Code Snippet

var oRSClientPrint = window.document.getElementById("RSClientPrint");
alert(oRSClientPrint);
if (typeof oRSClientPrint.Print == "undefined")
{
alert("Unable to load client print control.");
return;
}

In FireFox above code fails by raising error message "Unable to load client print control.". As per me FireFox is not able to use the Print method of object, Can you help me on how we can make it to work with FireFox.

Thanks and Regards,
Nav

The control for printing is an ActiveX control and is not supported in non-IE browsers.

There is a plugin for loading ActiveX controls that you may be able to get for firefox or netscape, if you have control over the client pc.

You will probably have to export the report to an html file, redirect to the html file, and use some javascript to popup the print dialog.

cheers,

Andrew

sql

Monday, March 26, 2012

RSClientPrint error 0x8007F304

I thought I finally had everything in place to do clienside printing using
RSClientPrint. I even got the dialog box for installing the software at the
client. However, now when I call my java function to print, I get a error
printing number of 0x8007F304.
Does anyone recognize it? Can anyone help?
--
Thanks,
CGWAfter working with this a little more, I believe the problem occurs when
RSClientPrint.Print method is invoked for a report without that report being
opened first in the browser. I was hoping to bypass that, but RSClientPrint
doesn't seem inclined to allow that. Bummer.
--
Thanks,
CGW
"CGW" wrote:
> I thought I finally had everything in place to do clienside printing using
> RSClientPrint. I even got the dialog box for installing the software at the
> client. However, now when I call my java function to print, I get a error
> printing number of 0x8007F304.
> Does anyone recognize it? Can anyone help?
> --
> Thanks,
> CGW|||The control was not designed to work in this way. You will need to call the
SOAP APIs.
--
Brian Welcker
Group Program Manager
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"CGW" <CGW@.discussions.microsoft.com> wrote in message
news:3E3F8389-4525-4130-A47A-76592F22E643@.microsoft.com...
> After working with this a little more, I believe the problem occurs when
> RSClientPrint.Print method is invoked for a report without that report
> being
> opened first in the browser. I was hoping to bypass that, but
> RSClientPrint
> doesn't seem inclined to allow that. Bummer.
> --
> Thanks,
> CGW
>
> "CGW" wrote:
>> I thought I finally had everything in place to do clienside printing
>> using
>> RSClientPrint. I even got the dialog box for installing the software at
>> the
>> client. However, now when I call my java function to print, I get a error
>> printing number of 0x8007F304.
>> Does anyone recognize it? Can anyone help?
>> --
>> Thanks,
>> CGW|||Thanks. I had about come to that conclusion. And I've never really used SOAP
APIs. I had about decided to use the rs utility and scripts to automate
morning reports. However, can you point me to a good intro to the RS SOAP
APIs and how to use them?
--
Thanks,
CGW
"Brian Welcker [MSFT]" wrote:
> The control was not designed to work in this way. You will need to call the
> SOAP APIs.
> --
> Brian Welcker
> Group Program Manager
> Microsoft SQL Server Reporting Services
> This posting is provided "AS IS" with no warranties, and confers no rights.
> "CGW" <CGW@.discussions.microsoft.com> wrote in message
> news:3E3F8389-4525-4130-A47A-76592F22E643@.microsoft.com...
> > After working with this a little more, I believe the problem occurs when
> > RSClientPrint.Print method is invoked for a report without that report
> > being
> > opened first in the browser. I was hoping to bypass that, but
> > RSClientPrint
> > doesn't seem inclined to allow that. Bummer.
> > --
> > Thanks,
> >
> > CGW
> >
> >
> > "CGW" wrote:
> >
> >> I thought I finally had everything in place to do clienside printing
> >> using
> >> RSClientPrint. I even got the dialog box for installing the software at
> >> the
> >> client. However, now when I call my java function to print, I get a error
> >> printing number of 0x8007F304.
> >>
> >> Does anyone recognize it? Can anyone help?
> >>
> >> --
> >> Thanks,
> >>
> >> CGW
>
>|||By the way... Just how was the control designed to work? Since it accepts the
report name, parameters, server, etc, I made the assumption that client
printing could be accomplished through the use of the control alone.
--
Thanks,
CGW
"Brian Welcker [MSFT]" wrote:
> The control was not designed to work in this way. You will need to call the
> SOAP APIs.
> --
> Brian Welcker
> Group Program Manager
> Microsoft SQL Server Reporting Services
> This posting is provided "AS IS" with no warranties, and confers no rights.
> "CGW" <CGW@.discussions.microsoft.com> wrote in message
> news:3E3F8389-4525-4130-A47A-76592F22E643@.microsoft.com...
> > After working with this a little more, I believe the problem occurs when
> > RSClientPrint.Print method is invoked for a report without that report
> > being
> > opened first in the browser. I was hoping to bypass that, but
> > RSClientPrint
> > doesn't seem inclined to allow that. Bummer.
> > --
> > Thanks,
> >
> > CGW
> >
> >
> > "CGW" wrote:
> >
> >> I thought I finally had everything in place to do clienside printing
> >> using
> >> RSClientPrint. I even got the dialog box for installing the software at
> >> the
> >> client. However, now when I call my java function to print, I get a error
> >> printing number of 0x8007F304.
> >>
> >> Does anyone recognize it? Can anyone help?
> >>
> >> --
> >> Thanks,
> >>
> >> CGW
>
>

RSClientPrint Download

I have an asp.net application which is launched from our B2B site. The primary purpose of the application is to allow our external clients access to reports, along with the ability to export and print. The RS2005 report viewer component was used within the application to render the reports. The problem is when the our client users click on the print button on the report viewer's tool bar, many of them are receiving a window asking them if they want to install "SQL Server". In reality, the ActiveX viewer, RSClientPrint, is what is trying to install. Our technical support staff is being flooded with calls due to this pop up. The users are very confused and concerned about installing "SQL Server." In addition, some users do not have the ability to install the ActiveX viewer, so they are not going to be able to print. We've experienced this in the past with ActiveX for Crystal. Finally, some users receive no message or feedback when they click on the print button for several minutes. We've determined the ActiveX is being installed during this time. We've had users wait as long as 7 minutes for the Print Dialog to come up.

1. We would like to place a message along with the link on the page where the report is rendered. Is there a way for us to provide a link to a self extracting file containing RSClientPrint?

2. Also is there any way to get around the issue where the client user does not have the ability to install the ActiveX? I've seen references on the forum to using SMS, but this is not possible since the users are external?

3. Is there any setting we can turn on so the users don't think the application has gone "out to lunch" while the ActiveX viewer is installed?

Thanks

Anything that Report Manager or the ActiveX control does, you can code yourself using the Reporting Services Web Services. You don't and never did need the ActiveX to view reports. It was added to allow new developers an easy way to add reporting features to applications without needing to know about the Web Services.

What you will find is that at some point, you will need to access Reporting Services in a way that the ActiveX does not support/make easy and you will have to go via the Web Services... now it that time

Regards

Paul

|||

Paul,

Thank you for your quick response. Unfortunately, we avoided this approach on purpose for a number of reasons, one of which was to avoid passing sensitive client customer information on the query string and then having to encrypt it.

We have actually used the RS web service with a RS2000 report for our price lists. However, we liked the ease of use in VS2005 with the report viewer component and the ability to pass parameters internally from the ASP.Net application to the report viewer component which hid sensitive information from potential hackers.

I assume based on your response there is no way for us to provide a link to a self extracting RSClientPrint file or any way to speed up the download and installation time?

Thanks

Carol

|||

Not really. This is one of the 'joys' of working with ActiveX controls.

You only pass details across the query string when you are using URL access to reporting services. The web services use SOAP (XML). You could create a soap extension in .NET to encrypt the data or simply run the web services over SSL.

Cheers

Paul

|||

Paul,

You say "You don't and never did need the ActiveX to view reports".... Are you talking about RSClientPrint? If so...is there any way to print reports (other than browser, or exported) without this ActiveX?

|||

Hi to everyone, actually i have an application to external clients and they will need to be able to print some reports.

After reading some forums, blogs, MSDN KB articles, we discover a way to print automatically theese reports, but it only work if we have thath activex installed.

If you (Paul) say thah we can perform the activity to print reports on Iexplorer using the Reporting Services Web Service, could you give us some orientatio about the methods to use for this activity...

I used this Web Service form rendering reports and show it to the client, but now thath i need to print, the only way i discovered is using the activex.

Greetings !

|||From what I understand, in order to use that print button on the report toolbar, the RSClientPrint ActiveX is required. The only other options for printing are:
1. Using the browser's print functionality (file->print) - but then you get the rest of the web page, and only the part of the report that is currently visible (nothing you have to scroll to see or other pages for multipage reports)
2. Export the report and use another application to print - for instance, export to PDF and print from Adobe Reader.
Basically, the browser knows how to print web pages, Adobe knows how to print PDFs, and RSClientPrint knows how to print SQL 2005 Reports.
MSDN - SQL Server 2005 Books Online - Printing Reports from a Browser:
http://msdn2.microsoft.com/en-us/library/ms159237.aspx
MSDN - SQL Server 2005 Books Online - How to: Configure a Browser for Client-Side Printing (Report Manager)
http://msdn2.microsoft.com/en-us/library/ms159190.aspx
This was enough proof for our marketing department...
-
Mike

RSClientPrint Download

I have an asp.net application which is launched from our B2B site. The primary purpose of the application is to allow our external clients access to reports, along with the ability to export and print. The RS2005 report viewer component was used within the application to render the reports. The problem is when the our client users click on the print button on the report viewer's tool bar, many of them are receiving a window asking them if they want to install "SQL Server". In reality, the ActiveX viewer, RSClientPrint, is what is trying to install. Our technical support staff is being flooded with calls due to this pop up. The users are very confused and concerned about installing "SQL Server." In addition, some users do not have the ability to install the ActiveX viewer, so they are not going to be able to print. We've experienced this in the past with ActiveX for Crystal. Finally, some users receive no message or feedback when they click on the print button for several minutes. We've determined the ActiveX is being installed during this time. We've had users wait as long as 7 minutes for the Print Dialog to come up.

1. We would like to place a message along with the link on the page where the report is rendered. Is there a way for us to provide a link to a self extracting file containing RSClientPrint?

2. Also is there any way to get around the issue where the client user does not have the ability to install the ActiveX? I've seen references on the forum to using SMS, but this is not possible since the users are external?

3. Is there any setting we can turn on so the users don't think the application has gone "out to lunch" while the ActiveX viewer is installed?

Thanks

Anything that Report Manager or the ActiveX control does, you can code yourself using the Reporting Services Web Services. You don't and never did need the ActiveX to view reports. It was added to allow new developers an easy way to add reporting features to applications without needing to know about the Web Services.

What you will find is that at some point, you will need to access Reporting Services in a way that the ActiveX does not support/make easy and you will have to go via the Web Services... now it that time

Regards

Paul

|||

Paul,

Thank you for your quick response. Unfortunately, we avoided this approach on purpose for a number of reasons, one of which was to avoid passing sensitive client customer information on the query string and then having to encrypt it.

We have actually used the RS web service with a RS2000 report for our price lists. However, we liked the ease of use in VS2005 with the report viewer component and the ability to pass parameters internally from the ASP.Net application to the report viewer component which hid sensitive information from potential hackers.

I assume based on your response there is no way for us to provide a link to a self extracting RSClientPrint file or any way to speed up the download and installation time?

Thanks

Carol

|||

Not really. This is one of the 'joys' of working with ActiveX controls.

You only pass details across the query string when you are using URL access to reporting services. The web services use SOAP (XML). You could create a soap extension in .NET to encrypt the data or simply run the web services over SSL.

Cheers

Paul

|||

Paul,

You say "You don't and never did need the ActiveX to view reports".... Are you talking about RSClientPrint? If so...is there any way to print reports (other than browser, or exported) without this ActiveX?

|||

Hi to everyone, actually i have an application to external clients and they will need to be able to print some reports.

After reading some forums, blogs, MSDN KB articles, we discover a way to print automatically theese reports, but it only work if we have thath activex installed.

If you (Paul) say thah we can perform the activity to print reports on Iexplorer using the Reporting Services Web Service, could you give us some orientatio about the methods to use for this activity...

I used this Web Service form rendering reports and show it to the client, but now thath i need to print, the only way i discovered is using the activex.

Greetings !

|||From what I understand, in order to use that print button on the report toolbar, the RSClientPrint ActiveX is required. The only other options for printing are:
1. Using the browser's print functionality (file->print) - but then you get the rest of the web page, and only the part of the report that is currently visible (nothing you have to scroll to see or other pages for multipage reports)
2. Export the report and use another application to print - for instance, export to PDF and print from Adobe Reader.
Basically, the browser knows how to print web pages, Adobe knows how to print PDFs, and RSClientPrint knows how to print SQL 2005 Reports.
MSDN - SQL Server 2005 Books Online - Printing Reports from a Browser:
http://msdn2.microsoft.com/en-us/library/ms159237.aspx
MSDN - SQL Server 2005 Books Online - How to: Configure a Browser for Client-Side Printing (Report Manager)
http://msdn2.microsoft.com/en-us/library/ms159190.aspx
This was enough proof for our marketing department...
-
Mike

RSClientPrint Download

I have an asp.net application which is launched from our B2B site. The primary purpose of the application is to allow our external clients access to reports, along with the ability to export and print. The RS2005 report viewer component was used within the application to render the reports. The problem is when the our client users click on the print button on the report viewer's tool bar, many of them are receiving a window asking them if they want to install "SQL Server". In reality, the ActiveX viewer, RSClientPrint, is what is trying to install. Our technical support staff is being flooded with calls due to this pop up. The users are very confused and concerned about installing "SQL Server." In addition, some users do not have the ability to install the ActiveX viewer, so they are not going to be able to print. We've experienced this in the past with ActiveX for Crystal. Finally, some users receive no message or feedback when they click on the print button for several minutes. We've determined the ActiveX is being installed during this time. We've had users wait as long as 7 minutes for the Print Dialog to come up.

1. We would like to place a message along with the link on the page where the report is rendered. Is there a way for us to provide a link to a self extracting file containing RSClientPrint?

2. Also is there any way to get around the issue where the client user does not have the ability to install the ActiveX? I've seen references on the forum to using SMS, but this is not possible since the users are external?

3. Is there any setting we can turn on so the users don't think the application has gone "out to lunch" while the ActiveX viewer is installed?

Thanks

Anything that Report Manager or the ActiveX control does, you can code yourself using the Reporting Services Web Services. You don't and never did need the ActiveX to view reports. It was added to allow new developers an easy way to add reporting features to applications without needing to know about the Web Services.

What you will find is that at some point, you will need to access Reporting Services in a way that the ActiveX does not support/make easy and you will have to go via the Web Services... now it that time

Regards

Paul

|||

Paul,

Thank you for your quick response. Unfortunately, we avoided this approach on purpose for a number of reasons, one of which was to avoid passing sensitive client customer information on the query string and then having to encrypt it.

We have actually used the RS web service with a RS2000 report for our price lists. However, we liked the ease of use in VS2005 with the report viewer component and the ability to pass parameters internally from the ASP.Net application to the report viewer component which hid sensitive information from potential hackers.

I assume based on your response there is no way for us to provide a link to a self extracting RSClientPrint file or any way to speed up the download and installation time?

Thanks

Carol

|||

Not really. This is one of the 'joys' of working with ActiveX controls.

You only pass details across the query string when you are using URL access to reporting services. The web services use SOAP (XML). You could create a soap extension in .NET to encrypt the data or simply run the web services over SSL.

Cheers

Paul

|||

Paul,

You say "You don't and never did need the ActiveX to view reports".... Are you talking about RSClientPrint? If so...is there any way to print reports (other than browser, or exported) without this ActiveX?

|||

Hi to everyone, actually i have an application to external clients and they will need to be able to print some reports.

After reading some forums, blogs, MSDN KB articles, we discover a way to print automatically theese reports, but it only work if we have thath activex installed.

If you (Paul) say thah we can perform the activity to print reports on Iexplorer using the Reporting Services Web Service, could you give us some orientatio about the methods to use for this activity...

I used this Web Service form rendering reports and show it to the client, but now thath i need to print, the only way i discovered is using the activex.

Greetings !

|||From what I understand, in order to use that print button on the report toolbar, the RSClientPrint ActiveX is required. The only other options for printing are:
1. Using the browser's print functionality (file->print) - but then you get the rest of the web page, and only the part of the report that is currently visible (nothing you have to scroll to see or other pages for multipage reports)
2. Export the report and use another application to print - for instance, export to PDF and print from Adobe Reader.
Basically, the browser knows how to print web pages, Adobe knows how to print PDFs, and RSClientPrint knows how to print SQL 2005 Reports.
MSDN - SQL Server 2005 Books Online - Printing Reports from a Browser:
http://msdn2.microsoft.com/en-us/library/ms159237.aspx
MSDN - SQL Server 2005 Books Online - How to: Configure a Browser for Client-Side Printing (Report Manager)
http://msdn2.microsoft.com/en-us/library/ms159190.aspx
This was enough proof for our marketing department...
-
Mike

RSClientPrint deployment question.

I have read the thread 'print active x question' posted more than a year ago
and would like to follow up...
We have an application using a webbrowser control to access reporting
services and have run into the issue of needing RSClientPrint installed
during our setup because security policies/settings may prevent the user from
installing the activex at runtime.
Has MS provided an .msi or merge module, etc. to deploy this yet? If not, is
there a definitive answer to which folder we should put the files?...is it
possible/safe to put them in Downloaded Program Files?
Thanks!
KevinHello Kevin,
We solved this problem with this small startscript in the computer group
policy.
Dim env, wshShell, fso
Set wshShell = WScript.CreateObject("WScript.Shell")
Set env = wshShell.Environment("PROCESS")
Set fso = CreateObject("Scripting.FileSystemObject")
if(Not (fso.FileExists (env("windir") & "\downloaded program
files\RSClientPrint.dll"))) Then
On Error Resume next
fso.CopyFile "\\server\rsclient\gdiplus.dll",env("windir") & "\downloaded
program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint.dll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint.inf", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1028.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1031.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1033.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1036.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1040.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1041.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1042.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1043.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1046.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\server\rsclient\RSClientPrint_1053.rll", env("windir") &
"\downloaded program files\"
On Error Resume next
fso.CopyFile "\\bkhl\host\stdsw\tools\rsclient\RSClientPrint_2052.rll",
env("windir") & "\downloaded program files\"
On Error Resume next
fso.CopyFile "\\bkhl\host\stdsw\tools\rsclient\RSClientPrint_3082.rll",
env("windir") & "\downloaded program files\"
wshShell.Run "REGSVR32.EXE /s """ & env("windir") & "\downloaded program
files\RSClientPrint" & """", vbMinimizedNoFocus
End if
on error resume next
Hope it helps.
Regards
Bernhard|||Bernhard,
Thanks. It answers my question that other people are having the same
problem and handling it by manually deploying the files to the Downloaded
Program Files folder.
We will most likely add the files to our existing client install. It would
be nice if Reporting Services contained a Windows Installer module for this
(hint hint).
Thanks,
Kevin
"Bernhard Weitlaner" wrote:
> Hello Kevin,
> We solved this problem with this small startscript in the computer group
> policy.
>
> Dim env, wshShell, fso
> Set wshShell = WScript.CreateObject("WScript.Shell")
> Set env = wshShell.Environment("PROCESS")
> Set fso = CreateObject("Scripting.FileSystemObject")
> if(Not (fso.FileExists (env("windir") & "\downloaded program
> files\RSClientPrint.dll"))) Then
> On Error Resume next
> fso.CopyFile "\\server\rsclient\gdiplus.dll",env("windir") & "\downloaded
> program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint.dll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint.inf", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1028.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1031.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1033.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1036.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1040.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1041.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1042.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1043.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1046.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\server\rsclient\RSClientPrint_1053.rll", env("windir") &
> "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\bkhl\host\stdsw\tools\rsclient\RSClientPrint_2052.rll",
> env("windir") & "\downloaded program files\"
> On Error Resume next
> fso.CopyFile "\\bkhl\host\stdsw\tools\rsclient\RSClientPrint_3082.rll",
> env("windir") & "\downloaded program files\"
> wshShell.Run "REGSVR32.EXE /s """ & env("windir") & "\downloaded program
> files\RSClientPrint" & """", vbMinimizedNoFocus
> End if
> on error resume next
>
> Hope it helps.
> Regards
> Bernhard|||Kevin,
If you have visual studio it's a pretty simple job to create an MSI to do
the same thing as Bernards script. Then you can deploy the MSI with a GPO or
whatever means you want.
Regards,
Martin.
"Kg" wrote:
> Bernhard,
> Thanks. It answers my question that other people are having the same
> problem and handling it by manually deploying the files to the Downloaded
> Program Files folder.
> We will most likely add the files to our existing client install. It would
> be nice if Reporting Services contained a Windows Installer module for this
> (hint hint).
> Thanks,
> Kevin
> "Bernhard Weitlaner" wrote:
> > Hello Kevin,
> >
> > We solved this problem with this small startscript in the computer group
> > policy.
> >
> >
> > Dim env, wshShell, fso
> > Set wshShell = WScript.CreateObject("WScript.Shell")
> > Set env = wshShell.Environment("PROCESS")
> > Set fso = CreateObject("Scripting.FileSystemObject")
> >
> > if(Not (fso.FileExists (env("windir") & "\downloaded program
> > files\RSClientPrint.dll"))) Then
> >
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\gdiplus.dll",env("windir") & "\downloaded
> > program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint.dll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint.inf", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1028.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1031.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1033.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1036.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1040.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1041.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1042.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1043.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1046.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\server\rsclient\RSClientPrint_1053.rll", env("windir") &
> > "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\bkhl\host\stdsw\tools\rsclient\RSClientPrint_2052.rll",
> > env("windir") & "\downloaded program files\"
> > On Error Resume next
> > fso.CopyFile "\\bkhl\host\stdsw\tools\rsclient\RSClientPrint_3082.rll",
> > env("windir") & "\downloaded program files\"
> >
> > wshShell.Run "REGSVR32.EXE /s """ & env("windir") & "\downloaded program
> > files\RSClientPrint" & """", vbMinimizedNoFocus
> >
> > End if
> > on error resume next
> >
> >
> > Hope it helps.
> >
> > Regards
> > Bernhard|||Hello Martin
> If you have visual studio it's a pretty simple job to create an MSI to do
> the same thing as Bernards script. Then you can deploy the MSI with a GPO or
> whatever means you want.
>
This sounds very interesting. How is this possible? I have visual studio.
Regards
Bernhard|||Bernhard,
Here's the recipe...
You'll need the extracted the CabFile contents.
Then in Visual Studio:
1. Create a New Set Up Project (it's under Other Project Types). You can
call it what you like but I used RSClientPrintRedist.
2. In the Configuration properties of the SetUp Project click the
prerequisite... button and make sure none of the prerequisites are checked
and that the Create setup program to install prerequisite components is
cleared. I usually do this first because it's easy to forget and GPO
processing seems to fail if it tries to fire of an external setup file.
3. Next on the project properties set InstallAllUsers to true.
4. Under File System on Target Machine click on Applciation Folder and set
the default location to [WindowsFolder]Downloaded Program Files. You can
remove the other folders they're not needed.
5. Add all the extracted files to this folder.
6. On the properties tab for the rsclientprint.dll set the Register property
to vsdrfCOMSelfReg
7. Under the Registry on Target Machine Settings remove HKLM and KKCU
[Manufacturer Keys]
8. Under User Interface remove the Target Directory dialog screen. We don't
need to be able to specify an alternative location.
9. Build you project.
If all goes well you should have a file "RSClientPrintRedist.msi" under the
current config directoy of your project.
Creating setup kits this way is really powerful, and you don't have to be
deploying a .NET app to use them. If you have a play around with the various
options you'll see there isn't much you can't do on the target machine.
Martin
"Bernhard Weitlaner" wrote:
> Hello Martin
> >
> > If you have visual studio it's a pretty simple job to create an MSI to do
> > the same thing as Bernards script. Then you can deploy the MSI with a GPO or
> > whatever means you want.
> >
> This sounds very interesting. How is this possible? I have visual studio.
> Regards
> Bernhard|||Hello Martin,
Thank you very much.
Regards
Bernhardsql

RSClientPrint and web-service rendering

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