Page size for german standard din a4 format changes

Last post 11-09-2009 2:41 AM by hundehasser. 1 replies.

Sort Posts:

  • Page size for german standard din a4 format changes

    11-06-2009, 5:49 PM
    • Member
      19 point Member
    • hdw
    • Member since 01-07-2007, 2:31 PM
    • Posts 26

    Hi all,

    in my reports I set the page size according to the German standard format "DIN A4" which is

    width: 21cm height: 29,7cm

    or 8,27in x 11,96in

    Within the report developer when I press the print button the printer dialog which comes up shows me correctly page size "DIN A4".

    When I deploy the report and call it from the web-browser from within my web application (same machine, same printer) the print dialog shows me a "user defined" page size (21,01cm ...).  Same with the customer. His printer shows an error and he wants to get it solved.

    Even playing arround with slightly smaller or higher values I can't match the exact DIN A4 page size.

    Thank you for any help in advance.

    Dieter


  • Re: Page size for german standard din a4 format changes

    11-09-2009, 2:41 AM
    Answer
    • Member
      743 point Member
    • hundehasser
    • Member since 02-21-2007, 3:35 AM
    • Berlin, Germany
    • Posts 122

    Hi there!

    The ReportViewer is affected by a round-off-error when converting DIN A4 to its internal representation (probably the never-failing and outer-space-proven inch). A workaround would be to provide imperial page sizes instead of DIN paper formats in the first place: A page size of 8,27" x 11,96" works like a charm.

    HTH and best regards,
    Thomas

Page 1 of 1 (2 items)