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

Print dialog box not finding the correct default printer

2 Answers 59 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
danparker276
Top achievements
Rank 2
danparker276 asked on 28 Jul 2011, 12:40 AM

I'm using the command:
RadRichTextBox1.Print("MyDocument", Telerik.Windows.Documents.UI.PrintMode.Native);

When I print from my out of browser silverlight app on my computer it always selects the correct default printer.

But at a client's site, when the print dialog comes up it selects the default printer, but it's not the user's default printer.

If I open up IE and select print from a random HTML page, it selects the correct Default printer.

Also, in the dialog box, if I try to change the default printer, nothing happens.

It's like it sees the user for the oob application as a different user than who is logged into the computer.  Any suggestions on debugging this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Vesko
Telerik team
answered on 02 Aug 2011, 11:03 AM
Hi Danparker276,

Default printer settings are part of Windows and are common for all the application. Unfortunately we cannot control it. However if you set one printer to be a default for a Windows instance it should be one and the same for all of your applications, including Silverlight one.

All the best,
Vesko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
danparker276
Top achievements
Rank 2
answered on 02 Aug 2011, 05:34 PM
Yeah, silverlight oob wouldn't have any control of that.  Must be the way they're running the sllauncher.exe
Tags
RichTextBox
Asked by
danparker276
Top achievements
Rank 2
Answers by
Vesko
Telerik team
danparker276
Top achievements
Rank 2
Share this question
or