|Subject:||Printing from ASP.NET application|
|Posted by:||Herb (email@example.com)|
|Date:||Tue, 1 Jul 2008|
I've been looking at the printing options in an ASP.NET application for a way
to print a report to a specific printer.
I see an option in Crystal Reports to use a PrintToPrinter command but I
don't really want to use Crystal Reports, I'd rather use the RDCL or SQL
Server Reporting Services.
In essence, each of my workstations will have multiple printers attached.
One will be a regular printer (desktop), a second is a 1 inch label printer
and the third is a 4 inch label printer.
I don't want the end user to have to view the report and then select the
printer it is to go to, I want to be able to specify in code that a report is
to be printed to the 4 inch label printer. The next report may go to the
desktop printer and the next to the 1 inch label printer.
I know which report goes where, I just need to be able to specify in code
where I want it printed.
Is there a way to accomplish this using ASP.NET in a web based application?