How to print a PDF from a Stream to a Legal size document

I have a console application that is using Syncfusion to create PDF files in a MemoryStream. I want to take that MemoryStream and print it to a legal size letter on a physical printer. Does Syncfusion support this?

1 Reply 1 reply marked as answer

DD Divya Dhayalan Syncfusion Team February 12, 2021 10:57 PM UTC

Hi Matt, 
 
Thanks for contacting Syncfusion support. 
 
Based on the provided details, we suspect that your requirement is to Print the PDF file stream with legal paper size. We can achieve this requirement by loading the PDF file stream to the PdfViewerControl and print the loaded document using Print(true) method. We have created a sample for the same and it can be downloaded from the below link, 
 
We also have created a video for your reference, to print the file with legal size and it can be downloaded from the below link, https://www.syncfusion.com/downloads/support/forum/162521/ze/PdfViewerPrint1210949237  
 
Please let us know if the above sample and details helps to achieve your requirement. Kindly let us know if our observation is different to that of yours and please provide us some more details specific to your requirement. This information will be helpful for us to analyze more from our side and provide you a better solution. 
 
Regards, 
Divya  


Marked as answer
Loader.
Up arrow icon