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

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -