vb.net - Print automatically after PDF is generated in c#? -
this question has answer here:
- how print document using printdialog in c# 1 answer
- generate pdf automatically prints 4 answers
i'm developing billing application, in project need generate pdf, use 'itextsharp.dll' generate pdf. works fine. after pdf generation, need print pdf file automatically without action. pdf generation code follow:
pdfwriter writer = pdfwriter.getinstance(document, new filestream("d:\\bill1.pdf", filemode.create)); document.open(); document.add(table1); document.close();
Comments
Post a Comment