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
Solved

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

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
This is about my first experience with programming Arduino.
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…

839 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