473,386 Members | 2,078 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to Bypass the printerDialogue?

I'm printing a massive load of Crystal Reports and the PrintReport() Method
opens the printDialogue but I don't want to have 5-6 of those opened at the
same time... can I trigger a printout in Windows without using the
PrintDialogue?

/Lars
Nov 20 '05 #1
2 1055

"Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I'm printing a massive load of Crystal Reports and the PrintReport() Method opens the printDialogue but I don't want to have 5-6 of those opened at the same time... can I trigger a printout in Windows without using the
PrintDialogue?

/Lars


Yup. I its the report.printtoPrinter method.
Dont put the report into a reportviewer. Just create it and call the above
method with supplied params. I just used (false,1,99) depending on how many
pages your report is.

PrintReport is a reportviewer method right?

hth
Richard
Nov 20 '05 #2
Yes PrintReport is a Viewer Method.

I'm new to Crystal Reports so I did'nt think I could create a report, thank
you very much!

Will try right away!

/Lars
"spamfurnace" <sp*********@intermension.com> skrev i meddelandet
news:Oj**************@TK2MSFTNGP11.phx.gbl...

"Lars Netzel" <[stop_spam]@host.topdomain> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I'm printing a massive load of Crystal Reports and the PrintReport() Method
opens the printDialogue but I don't want to have 5-6 of those opened at

the
same time... can I trigger a printout in Windows without using the
PrintDialogue?

/Lars


Yup. I its the report.printtoPrinter method.
Dont put the report into a reportviewer. Just create it and call the above
method with supplied params. I just used (false,1,99) depending on how

many pages your report is.

PrintReport is a reportviewer method right?

hth
Richard

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Alex Vinokur | last post by:
========================================= Windows 2000 CYGWIN_NT-5.0 1.3.22(0.78/3/2) GNU gcc version 3.2 20020927 (prerelease) ========================================= Here is some program...
1
by: shaks | last post by:
i have an executable file. when i try to put data in a numeric field and click process then a password window opens but i don't know the password. is there any way to bypass that password...
1
by: Dalan | last post by:
I have learn that there is another option for setting the allow bypass key other than through a module (for Access 97), and that it is through use of a dll. Obviously, it is fairly easy to...
1
by: Ghulam | last post by:
I am using an Access 2k ADP (Converted into ADE) front end and SQL 2K on the backend. Although I taught pretty much myself into these concept with the help of some publications and users group...
3
by: tdmailbox | last post by:
I set up my code to disable the shift bypass however for certain users I want to allow them through a button no a form to be able open up the list of tablies and queries. Is there a vb command...
2
by: Mahesh Devjibhai Dhola | last post by:
Can you please help me in my problem? I have a socket prog. application like http://www.codeproject.com/dotnet/csharpwhiteboard.asp My application is chat application like above architecture....
3
by: CanuckChuck | last post by:
I have a code for enabling a command button to password protect the enabling/disabling of the Shift bypass. For some reason though I keep recieving a syntax error when I try to use it. I copied the...
1
by: OlaPihl | last post by:
Hi, How can I by code enable and disable "Bypass proxy server for local adresses" in Internet Explorer / Tools / Internet Options / Connections / LAN Settings. I have made a program (VB.Net)...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.