Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-19
3
Medium Priority
?
150 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 70

Assisted Solution

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

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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

972 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