Exception on Print Preview

4 posts, 0 answers
  1. Kim
    Kim avatar
    47 posts
    Member since:
    Jul 2013

    Posted 22 Aug 2013 Link to this post

    We are getting the attached exception on our remote RDP terminals when a client is trying to print preview document when the terminals have no printer installed.

    We need to still have the print preview work as user log into the terminal to view data but the terminal may not have any printers defined (this is on purpose because we don't want them printing documents to our printers)

    Is there a work around to prevent this error, but still allow print preview to work?

    Kim
  2. Dimitar
    Admin
    Dimitar avatar
    2907 posts

    Posted 28 Aug 2013 Link to this post

    Hi Kim,

    Thank you for writing.

    The PrintPreviewDialog is not meant to be used without a default printer because, the default printer settings are used for initialization of the print document that is showed in the dialog.

    The best solution for you will be to use a document printer. The easiest one is the Microsoft XPS Document Writer which is installed automatically on Windows Vista and later versions of Windows and can be downloaded and installed on Windows XP with SP2 and Windows Server 2003.

    I hope this helps. Should you have further questions I will be glad to help.

    Regards,
    Dimitar
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    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. Kim
    Kim avatar
    47 posts
    Member since:
    Jul 2013

    Posted 29 Aug 2013 Link to this post


    If I log in with RDP, and I set my connection to map printers, should it not see those printers?




  4. Dimitar
    Admin
    Dimitar avatar
    2907 posts

    Posted 03 Sep 2013 Link to this post

    Hello Kim,

    Thank you for writing back.

    Our print preview functionality is briefly extending the default one from Microsoft. This means that if your microsoft applications (the ones that have print preview) are working on your RDP the RadGridView print preview will also work on these machines. Basically if you see any printer in your Devices and Printers directory the print preview should work.

    Please let me know if there is something else I can help you with.

    Regards,
    Dimitar
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    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 >>
Back to Top