Hi Sruthi,
you just try
PrintDocument p = new PrintDocument();
p.PrintPage += delegate(object sender, PrintPageEventArgs e)
{
int i=0;
foreach (string s in arr)
{
i++;
e.Graphics.DrawString(s, new Font("Times New Roman", 12), new SolidBrush(Color.Black), new ReftangleF(0,0,p.Width,p.Height));
}
};
try
{
p.Print();
}
catch (Exception ex)
{
throw new Exception("Exception Occured While Printing", ex);
}