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

3 posts, 1 answers
  1. Tim
    Tim avatar
    114 posts
    Member since:
    Aug 2011

    Posted 26 Apr 2012 Link to this post

    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. Answer
    Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 01 May 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Tim
    Tim avatar
    114 posts
    Member since:
    Aug 2011

    Posted 01 May 2012 Link to this post

    Hi Petar,

    thanks for your reply! That's really strange that Silverlight doesn't support this...
    But anyway - thanks! Tim.
Back to Top