I am building a WPF form and using Telerik WPF 2017.1.117. I have a pdf loading fine from an external URL, but when I call the .Print command nothing is spooled and no errors are generated. After searching as much as I could, I can't find anything that would show why what I have is not working. Thanks for any help you can provide.
using (WebClient client = new WebClient())
{
using (Stream ms = new MemoryStream(client.DownloadData(Properties.Settings.Default.URL + badgeURL)))
{
MemoryStream mStream = new MemoryStream();
mStream.SetLength(ms.Length);
ms.Read(mStream.GetBuffer(), 0, (int)ms.Length);
this.radPDF.DocumentSource = new PdfDocumentSource(mStream);
}
}
this.radPDF.Print(new PrintSettings("Document 1", true));