you will have to load your report in a reportdocument class and call it's
print
Dim rap As New CrystalDecisions.CrystalReports.Engine.ReportDocum ent
rap.Load("filepath to report.rpt")
rap.PrintToPrinter(1, False, 0, 0)
or for strong type reports
Dim rap As New yourrep
rap.PrintToPrinter(1, False, 0, 0)
If you want to do a lot w crystal have a look at Brian Bischof's book
http://www.crystalreportsbook.com/ it is worth every penny
Hope it helps
eric
"project" <bi********@rediffmail-dot-com.no-spam.invalid> wrote in message
news:40********@127.0.0.1...
hi friends,
I want to print an invoice with out open crystal report . what I
mean to say that i want to give direct print print commad with out
open crystal report
.
pls anybody knows this one just help me