vb.net - Print automatically after PDF is generated in c#? -


this question has answer here:

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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -