The only way I ever did it was adding a print button the report's
webpage (just a normal button that says Print), then when it's clicked,
popup a new window w/ the report exported to Excel or a PDF. Then I let
the user manually print it.
Once you get a web form page that will send the generated PDF directly
to the browser, you can create a link to that page that will pop open
a new browser window by adding the target='blank' attribute on the <a
href...> tag that will link to that web form.
If you'd rather have a button do that rather than a clickable link, I
think that would involve having some javascript to open a new window
and then tell that new window to to load itself with the .aspx page
from the first step above.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.