PdfDocumentSource allows you to print a PDF file. It provides support for printing through the ShowPrintUIAsync method of the C1DocumentSource abstract class. Following code explains how this method can be used for printing a PDF file.
await pdfSource.ShowPrintUIAsync()
await pdfSource.ShowPrintUIAsync();