Solved

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

Posted on 2008-10-19
3
142 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This is about my first experience with programming Arduino.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

760 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

16 Experts available now in Live!

Get 1:1 Help Now