Saturday, February 25, 2012

preview and print pdf reports

I have few reports which i need to distribute to a lot of clients and I
have following requirements on the clients:
- preview reports
- print reports
- count the number of printed pages (if the report is printed), this is
absolutely necessary functionality because clients are charged by the
number of printed pages
Currently I'm transferring dataset to the clients, and printing reports
using PrinterDocument...
I found that pretty clumsy, specially when adding new report: I had to
upgrade server, clients, create new printing functionality...
I was thinking about some other options and the most interesting so far
is to use SQL Server Reporting Services for creating reports on the
server. Clients will then download/open reports.
Adding new reports will be as simple as generating new report on the RS.
The missing part is a component for preview/print/count pages on the
client. I need options to view html or pdf reports on the client.
So I'm looking for the component which could preview/print/count pages
of the html or pdf document.
Any experience with such a component.
Any other ides for the the solution of the problem are welcome too.
Thanks,
Igor.It looks like you may have to do some serious programming to pull this off.
You could use the web service to render the PDF to a file on the server,
then count the pages by inspecting the PDF.
I'm not sure that you can programmatically count the number of HTML pages.
From what I've read, it's pretty arbitrary how they're broken out.
--
'(' Jeff A. Stucker
\
Business Intelligence
www.criadvantage.com
---
"ianic" <ianic@.inet.hr> wrote in message
news:uSSOwvKzEHA.3512@.TK2MSFTNGP10.phx.gbl...
>I have few reports which i need to distribute to a lot of clients and I
>have following requirements on the clients:
> - preview reports
> - print reports
> - count the number of printed pages (if the report is printed), this is
> absolutely necessary functionality because clients are charged by the
> number of printed pages
> Currently I'm transferring dataset to the clients, and printing reports
> using PrinterDocument...
> I found that pretty clumsy, specially when adding new report: I had to
> upgrade server, clients, create new printing functionality...
> I was thinking about some other options and the most interesting so far is
> to use SQL Server Reporting Services for creating reports on the server.
> Clients will then download/open reports.
> Adding new reports will be as simple as generating new report on the RS.
> The missing part is a component for preview/print/count pages on the
> client. I need options to view html or pdf reports on the client.
>
> So I'm looking for the component which could preview/print/count pages of
> the html or pdf document.
> Any experience with such a component.
> Any other ides for the the solution of the problem are welcome too.
> Thanks,
> Igor.
>
>

No comments:

Post a Comment