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

Exception on Print Preview

3 Answers 133 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kim
Top achievements
Rank 1
Kim asked on 22 Aug 2013, 05:51 PM
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

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 28 Aug 2013, 05:42 AM
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 >>
0
Kim
Top achievements
Rank 1
answered on 29 Aug 2013, 04:33 PM

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




0
Dimitar
Telerik team
answered on 03 Sep 2013, 01:20 PM
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 >>
Tags
GridView
Asked by
Kim
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Kim
Top achievements
Rank 1
Share this question
or