Hi I am using visual studio 2008 crystal reports, i want to print a pages with common header & footer on all the pages (paginated report).
When i use PrintToPrinter() of report document it is considering / printing on the default printer that is configured on the server side but i want to print this report in the client side printer.
I tried using the default print button option of crystal report viewer. I could able to print the report only in internet exploler but when i click the default print button firefox or chrome the print dialog box not shown and the report is shown in as pdf
file
Please someone help me , need urgent.... Thank you
Suresh Sival...
Member
26 Points
23 Posts
My crystal report does not connect to client side printer in asp.net application..
Dec 17, 2012 01:42 PM|LINK
Hi I am using visual studio 2008 crystal reports, i want to print a pages with common header & footer on all the pages (paginated report).
When i use PrintToPrinter() of report document it is considering / printing on the default printer that is configured on the server side but i want to print this report in the client side printer.
I tried using the default print button option of crystal report viewer. I could able to print the report only in internet exploler but when i click the default print button firefox or chrome the print dialog box not shown and the report is shown in as pdf file
Please someone help me , need urgent.... Thank you
furry
Member
584 Points
108 Posts
Re: My crystal report does not connect to client side printer in asp.net application..
Dec 17, 2012 02:26 PM|LINK
Crystal Report Viewer doesn't realy work with Client Printer. it generates the PDF and then PDF viewer will interact with Client printer.
yes if you can install ActiveX to all of your users, there is a way to print directly from Crystal Report Viewer.
i've always used the workaround,
- create the PDF file on server.
- flush the PDF file to Client browser.
- broswer will open the PDF inside the browser, using PDF Add-in for brower.
- then user will be able to print the report from PDF Viewer printer button.
for yoru reference
http://stackoverflow.com/questions/8799579/printing-a-report-crystal-report-from-web-page-developed-in-asp-net-vb-witho
http://www.beansoftware.com/ASP.NET-Tutorials/Export-Crystal-Reports-To-PDF.aspx
http://www.daniweb.com/web-development/aspnet/threads/368606/exporting-crystal-report-to-pdf