Solved

Is there a way to supress the print dialog box when printing a crystal report?

Posted on 2008-10-19
3
143 Views
Last Modified: 2012-05-05
I have a crystal report that works great except that there are times when my system will be running completely automatically.  When in auto-mode I need the program to print on its own.
0
Comment
Question by:David L. Hansen
3 Comments
 
LVL 69

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 22752182
The ReportDocument object has a PrintToPrinter method exactly to do that.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 22752286
Check the print method.  There should be an option to turn it off.  Set it false.

mlmcc
0
 
LVL 15

Accepted Solution

by:
David L. Hansen earned 0 total points
ID: 22759348
I figured it out.  I just added a background worker to send the "Enter" key thus causing the print dialog box to print.  It works great!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
A short article about problems I had with the new location API and permissions in Marshmallow
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now