printing crystal report directly to printer vb6
hii iam trying to print crystal report directly to printer when user clicks command button. but i wont print, i can print by using crviewer, for my project purpose i cant use that. so only option is to print without showing iam using following code it gives error.
Me.CrystalReport1.ReportFileName = "I:\Report\vbreport.rpt"
Me.CrystalReport1.DiscardSavedData = True
crystalrepot1.destination= crpt to printer
crystalReport1.Action = 1
but the it gives error
if i use
crystalreport1.printreport , it executes without error but wont print.
help me urgent
If you don't get an answer here, you might try Crystal's tech support site: http://support.businessobjects.com .
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL