This is a migrated thread and some comments may be shown as answers.

Print documents with multiple page sizes

2 Answers 106 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Casey
Top achievements
Rank 1
Casey asked on 10 Apr 2015, 03:25 PM

Does the Silverlight PDFViewer support printing documents that contain different sized pages (i.e., 1st page legal, remainder of pages letter), without scaling?  We have documents that when printed from Adobe, the printer will automatically select the correct tray to pull paper from, as it is provided by the program.  Every time I print from telerik's PDFViewer it only prints on letter sized paper, and scales the legal sized pages down.

Our printer preferences has an option for mixed sized printing, and has a warning dialog that states "The document size is generally specified by the application."  Does RadPDFViewer send page size data for different sized pages to the printer when printing?

2 Answers, 1 is accepted

Sort by
0
Casey
Top achievements
Rank 1
answered on 10 Apr 2015, 04:52 PM

After looking into it more, it seems this is impossible to do without a lot of effort, because in silverlight it looks like the PrintableArea property is provided in PrintPageEventArgs by the system, not the other way around.

 Thanks!

0
Deyan
Telerik team
answered on 15 Apr 2015, 12:40 PM
Hello Casey,

Thank you for contacting us.

The PrintPageEventArgs.PrintableArea property does not have a setter. This is the reason why when printing in Silverlight RadPdfViewer only gets the page size and scales the page content to fit the given size. The page size can only be set from the PrintDialog Preferences button. RadPdfViewer does not send the page size to the printer in Silverlight.

I hope this is helpful. If you have any other questions or concerns please do not hesitate to contact us again.

Regards,
Deyan
the Telerik team
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
PDFViewer
Asked by
Casey
Top achievements
Rank 1
Answers by
Casey
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or