How do I render our printed documents to PDF through the device context (DC)?

Q: Our application outputs documents to a Windows device context for
rendering documents to the screen and/or printer. Are there functions
in any of your libraries that would allow me to write the device
context output to PDF. In essence, we want to render our printed
documents to PDF through the device context.
----------
A: In the latest version of PDFNet SDK you could use PDFDC class. As a
starting point you may want to take a look at PDFDC sample project:

   http://www.pdftron.com/pdfnet/samplecode.html#PDFDC

In case you need to generate PDF output from arbitraty Windows
applications PDFTron also offer a virtual PDF printer driver.