Click here to Skip to main content
13,004,446 members (74,148 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi, I have a crystal Report with ASP.NET. My problem is:
"When Print button in the Crystal Report Viewver is clicked it pops up a print dialog window.I need to bypass this window (i.e. This print dialog window should not appear to user. Once print button clicked,Report has to be printed straight away. )". I have googled many times. I couldnt find relevant answer. While Googling I found few answers.
They are:
(1) PrintToPrinter(1,False,0,0)->This is not suitable for my need. My Report has to be printed from client side

(2) window.print()-> This method prints only the first page of the Report. My Report contains 3 to 5 pages.

(3) -> I refered this link also. I could not follow the instructions given there for manipulating HTML. Because My Report contains diffrent header and footer for odd page and even page and HTML Manipulation during rendering greatly changes my reports' allignment (I have some 50 reports changing allignment for all the reports is troublesome and time consuming).

Please Help Me Out.I am struck with this problem.

I have Idea of Using "Send Keys {Enter}" to close the Print Dialogue as soon as it pops up. But I dont know where to put it, since PrintButton of Crystal Report has no event.
Posted 22-Apr-13 23:48pm

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170627.1 | Last Updated 20 Oct 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100