Print documents with multiple page sizes

3 posts, 0 answers
  1. Casey
    Casey avatar
    5 posts
    Member since:
    Feb 2015

    Posted 10 Apr 2015 Link to this post

    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. Casey
    Casey avatar
    5 posts
    Member since:
    Feb 2015

    Posted 10 Apr 2015 Link to this post

    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!

  3. DevCraft banner
  4. Deyan
    Admin
    Deyan avatar
    135 posts

    Posted 15 Apr 2015 Link to this post

    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.

     
Back to Top