Last post Dec 17, 2012 10:26 AM by furry
Dec 17, 2012 09:42 AM|Suresh Sivalingam|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
Please someone help me , need urgent.... Thank you
Dec 17, 2012 10:26 AM|furry|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