Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to print a report

0 views
Skip to first unread message

Tina

unread,
Apr 3, 2004, 7:38:59 PM4/3/04
to
I've been reading through the choppy SSRS books online for hours and can't
find a single example of how to print a report from one of my .aspx pages.
Once I have created a Report, how can I produce it and display it in a
browser, say after the user hits the "See Report" button on my page.
Thanks,
T


Douglas McDowell

unread,
Apr 3, 2004, 9:13:45 PM4/3/04
to
You may choose to render to PDF or TIFF, both print-ready formats; the
default HTML is optimized for browser viewing. You can change the rendering
format most easily by adding appropriate syntax to the calling URL
"&rs:Format=PDF"

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/rsp_prog_urlaccess_31wn.asp?frame=true

--Douglas McDowell

"Tina" <tinams...@excitenospam.com> wrote in message
news:%238NC10d...@tk2msftngp13.phx.gbl...

Tina

unread,
Apr 4, 2004, 12:00:53 PM4/4/04
to
This is not what I mean. I simply want to print a report from my code - say
when a button is pushed. For instance it might look something like this:

Private sub ReportButton_Click.........
dim myReport as new SSReport
myReport.name = "theReport.rdl"
myReport.render

I want to print a report from the code in my code behind module for my aspx
page. That's what I haven't been able to find an example for. Can this be
done with SSRS?
Thanks,
T

"Douglas McDowell" <doug...@nospam.intellinet.com> wrote in message
news:uoIOAqeG...@tk2msftngp13.phx.gbl...

sr...@hitachiconsulting.com

unread,
Apr 6, 2004, 9:53:20 AM4/6/04
to
Take a look at the sample printer delivery extension.

You can make a web service call to render the report and then use the
same printing logic. However, its far more efficient to just display
as PDF and use client-side printing.


"Tina" <tinams...@excitenospam.com> wrote in message news:<Ob#K#3lGEH...@TK2MSFTNGP11.phx.gbl>...

0 new messages