Suppress Printer Dialog when printing Crystal Report

Posted on 2002-06-04
Last Modified: 2010-05-02
I sometimes want to print a series of the same report in a loop- and I do NOT want the "printer? copies? coallated?" dialog box to pop up.

How can I suppress the printer dialog?
Question by:michael_wiswell

Expert Comment

ID: 7055127
Your question posted 7 times, costing you 7 X the points.  I will be deleting all others.  You'll avoid this problem by not using your browser control keys or refresh button, but rather the reload button.

Moondancer - EE Moderator
LVL 10

Accepted Solution

arana earned 50 total points
ID: 7055301
first off

wich version of everything are you using?

there are some properties in the report that allow you to
disable the dialog box.

using the OCX.



PrintOut(PromptUser, NumberOfCopy, Collated, StartPageNumber, StopPageNumber, OutputFileName)

The PrintOut method prints out the specified pages of the report to the default printer specified in the report.

 (Optional) But only FALSE is acceptable with the MAS product.
Specifies Boolean value indicating if the user should be prompted for printer options.
 (Optional) Specifies the number of report copies you want printed.
 (Optional) Specifies Boolean value specifying whether or not you want the report copies collated.
 (Optional) Specifies the first page you want printed.
 (Optional) Specifies the last page you want printed.

Author Comment

ID: 7056968

This did it, thanks.

For the record: VB 6.0
CR Developer, Product Type: Full, Product

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

758 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

24 Experts available now in Live!

Get 1:1 Help Now