Print Comments while saving to PDF

The following sample code illustrates how to use PrintCommentsType to print comments while saving to PDF.