Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
149 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

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 …
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Six Sigma Control Plans
Suggested Courses

705 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