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!
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center