Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Don't want print dialog box to appear with crystal report

Status
Not open for further replies.

foxygeek

Programmer
Oct 21, 2004
15
US
I have a vb .net application with a report in crystal reports 10. I need to be able to print the report with out printdialog box to appear. Is there a way to do this.
 
Already left work so I don't have the exact code, but there is a printpages(int) method, or something of the like, you just need to provide it a starting point and the number of pages to print (9999 if you don't knwo)

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Thank you i just figure out the method to use.
CrystalReports.PrintToPrinter(1, True, 0, 0)
I think this is what you were talking about.

Thank you again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top