MVVM silent printing

3 posts, 0 answers
  1. Mark
    Mark avatar
    16 posts
    Member since:
    Sep 2012

    Posted 16 Dec 2013 Link to this post

    Is there an MVVM way of using the RadPdfViewer to silently print a document? We currently are using the following line in the DocumentChanged event handler to do the silent printing.

    ((RadPdfViewer)sender).Print(new PrintSettings("Document 1", true));


    Thank you,
    Mark
  2. Alexander
    Admin
    Alexander avatar
    41 posts

    Posted 19 Dec 2013 Link to this post

    Hello Mark,

    You could easily implement silent printing with MVVM pattern using custom CommandDescriptors. You can read this article about CommandDescriptors. You can also see the following SDK example which shows how to implement custom CommandDescriptors.

    I hope this is helpful. Please, do not hesitate to contact us if you have any other questions.

    Regards,
    Alexander
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Mark
    Mark avatar
    16 posts
    Member since:
    Sep 2012

    Posted 19 Dec 2013 Link to this post

    I will look in to using CommandDescriptors to do this.

    Thank you,
    Mark
Back to Top