printing crystal report from vb

kbokku
kbokku used Ask the Experts™
on
How to print a crystal report directly to a printer from vb without viewing the report? I did that crviewer.printreport , the report has to be printed directly, but nothing is happening,
with crviewer.viewreport , crystal report is coming and from there i can take a print also, but i am not getting a print with .printreport
waiting for reply,
thanks in advance
kishore
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
add this code in your vb code, this will sure solve your problem.

.Destination = crptToPrinter
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013
Commented:
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
One or the other should have helped.

mlmcc

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial