Print doc object to pdf file

Feb 21 2012 5:55 AM
Hi,

I have some contents in printDocument object that is used for printing. Is there any way that I can convert these contents to byte array and isthere any way I can convert these bytes to PDF file using PDFSharp, itextsharp dll's. 

Thnaks,
Philip