Send a report directly to printer with Reporting S

2019-06-21 05:36发布

问题:

I want to print a report from a button click. I just don't need (in fact, I don't want) to view the report before printing. Just pass some parameters and send it to printer (doesn't matter if it's with or without a print dialog).

回答1:

Here is a guide from MSDN for doing it with client-side reports: http://msdn.microsoft.com/en-us/library/ms252091%28v=vs.80%29.aspx

and server reports:

http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/25973909-592e-42fc-a454-dadda2604882