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

Print chart on a big page (A0, for example)

2 Answers 44 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tim
Top achievements
Rank 1
Tim asked on 26 Apr 2012, 05:32 PM
Hello everyone!

Silverlight 5 now supports vector printing but is it possible that it is still not possible to print big pages? I tried to print a small control to A0  (about 840 x 1190 mm) but it did'nt work. I tried the telerik printing demo ( http://demos.telerik.com/silverlight/#Chart/Silverlight/PrintAndExportWithRadDocument ) using this A0 page size but it didn't work. There is no exception - it just happens nothing!!! Can someone please shed some light on this? If it is really not possible - any workarounds? Thanks a lot for any kind of help!!!

All the best,Tim.

2 Answers, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 01 May 2012, 09:18 AM
Hi Tim,
 
Unfortunately there is nothing we can do in this situation. The problem that you are experiencing is actually a known problem of the PrintDocument class. If the selected paper size is too large - this results in a silent fail.

Here you can read about the PrintDocument class. Note the last sentence, at the bottom of the page:

"After calling Print() on a PrintDocument object, if the paper size selected by the user is too large (A2 or larger 16.5 In.x23.4 In.), PrintDocument never fires BeginPrint, PrintPage, or EndPrint events, and no exception is thrown from the Print call. It just fails silently."
 
Regards,
Petar Marchev
the Telerik team

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

0
Tim
Top achievements
Rank 1
answered on 01 May 2012, 12:42 PM
Hi Petar,

thanks for your reply! That's really strange that Silverlight doesn't support this...
But anyway - thanks! Tim.
Tags
Chart
Asked by
Tim
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Tim
Top achievements
Rank 1
Share this question
or