1
Reply

How to take print out Programmatically In asp.net crystal report using c sharp language?

gopi sankari

gopi sankari

12y
6.2k
0
Reply

       Dim margins As PageMargins =  Report.PrintOptions.PageMargins

       margins.bottomMargin = 200

       margins.leftMargin = 200

       margins.rightMargin = 50

       margins.topMargin = 100

       Report.PrintOptions.ApplyPageMargins(margins)

       ' Select the printer name

       Report.PrintOptions.PrinterName = printerName