M
Manan
i have a print button to print a crystal report,
but this code is not working, it prints only the lines,and boxes of th
report
not the actual data, my code is
Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e A
System.EventArgs) Handles btnPrint.Click
crpt.PrintOptions.PrinterName = "HP LaserJet 2100 Series PS"
crpt.PrintToPrinter(1, False, 1, 1)
End Sub
can anybody tell this code is correct, if no then , any other solution
but this code is not working, it prints only the lines,and boxes of th
report
not the actual data, my code is
Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e A
System.EventArgs) Handles btnPrint.Click
crpt.PrintOptions.PrinterName = "HP LaserJet 2100 Series PS"
crpt.PrintToPrinter(1, False, 1, 1)
End Sub
can anybody tell this code is correct, if no then , any other solution