peaced be with you
i want to print direct form the form can i make this thing by crystal report 10
ex :
print application form without show the crystal report preview
thanks
Printable View
peaced be with you
i want to print direct form the form can i make this thing by crystal report 10
ex :
print application form without show the crystal report preview
thanks
Which control u r using to connect Report with ur application. if u r using Crstal report Control then go to its proparty (Crystal Proparty) and click on general tab , u will get options like To Window, To Printer, To File, To MAPI, To Exchange.
Select To printer option for ur report destination & select ur report from brows button.
I hope this will work...... :wave:
Allha Hafiz
peace be with you
dear shirishdawane
i am using the crystal viewer in my program only to view and print
but i want to print it direct form the app to printer
ex :
app >>>>>>>>>>>> crystal viwer >>>>>>>>>>> printer
app >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> printer
thanks
Try this on out
In Project reference select crystal report viewer or crystal report runtime library, whatever you are using.
Then here goes if you are using CR 4.6 or less
VB Code:
private sub CommandButton1_Click() dim crp as "yourcrystalreport" '---open connection for report-- '---set data path for report--- '--your report sql query goes here--- crp.printreport end sub
God bless you my son................In the name of Jesus Christ peace be with you.....
Try this out!
Dim ReportToDisplay As New MyReport 'The object name of VB designer
ReportToDisplay.SelectPrinter "gtyjj", "ghgj", "LPT1"
ReportToDisplay.PrintOut