I'm developing a billing application, in that project I need to generate a PDF, for that I use 'iTextSharp.dll' to generate pdf. It works fine. After PDF generation, I need to print that PDF file automatically without any action. My PDF generation code as follow:
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream("d:\\Bill1.pdf", FileMode.Create));
document.Open();
document.Add(table1);
document.close();