Last post Jul 27, 2012 07:17 AM by Mudasir.Khan
Jul 27, 2012 03:57 AM|iam_migs|LINK
Hi to all,
hope someone can help me, been trying to fugire out if how can i print the crystal report but i want first to show the printer dialog bo before printing cause right now using belowcode
rpt.PrintToPrinter(1, false, 0, 0);
it is automatically printing to what is default on your computer, what i want is the option to choose what printer will i use just like the window printer dialog box and also i am using a asp.net button hope someone can give me a better advise and also how
can i remove the background of my crystal report it has i dont know like a shadow and a sky blue what i only want to see is the paper.
thanks in advance.
Jul 27, 2012 07:17 AM|Mudasir.Khan|LINK
you may do it in you code by this way
To get the list of current printers you can use:
For Each printers as string In System.Drawing.Printing.PrinterSettings.InstalledPrinters
please check this link