Html output and page borders

4 posts, 0 answers
  1. craig
    craig avatar
    2 posts
    Member since:
    Jul 2017

    Posted 14 Aug Link to this post

    Hi

    I am trying to print my reports in html format. Unfortunately the page border does not seem to fit a printed page. In portrait I get the top of next page printing border at the bottom of the first ( see attachment). In landscape I lose the bottom of the border. Is there a way to completely remove the border or fix the page sizes to the printed page size.

    My browser (chrome) is printing to A4 and the report files are set to A4 size.

     

    Any ideas would be of great help.

    Thanks

    Craig

  2. Silviya
    Admin
    Silviya avatar
    176 posts

    Posted 17 Aug Link to this post

    Hello Craig,

    The area of the physical page that remains after is allocated for margins, column spacing (multi-column), and the page header and footer, is referred to as usable page area.

    In order to fix this it is necessary to either increase the width of the Report, or decrease the usable page area width, so that they match.
    If you would like the entire page to be usable, it would be necessary to set the Margins to 0in.

    For further information I suggest to check the Understanding Pagination article.

    Regards,
    Silviya
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. craig
    craig avatar
    2 posts
    Member since:
    Jul 2017

    Posted 17 Aug in reply to Silviya Link to this post

    Hi Silviya

    Thanks for the reply, but i have tried changing the margins, it has not helped and it only seems to affect HTML, the pdfs are fine.  I think its the html that is being generated is not quite A4 size. 

    If you see the two attached images the first is the html in the browser the second is the chrome print preview. notice that the html looks ok. but the print preview is not breaking the pages in the same place as the html thinks it should be. it results in the pages being broken in the wrong place and the html pages being chopped

     

    Thanks 

    Craig

  4. Silviya
    Admin
    Silviya avatar
    176 posts

    Posted 22 Aug Link to this post

    Hello Craig,

    We perform some tests, and it seems to render as expected on our side. It would be valuable to us if you open new support ticket and send the problematic report with some test data in order to investigate further.

    In general, the HTML5 rendering extension is based on the Image rendering extension, with some differences. We recommend referring to Design Considerations for HTML Rendering help article, in which are listed all specifics to that exporting mechanism. 
    Consider that the strings are measured using GDI+. This can lead to differences between Image rendering and the Web Browsers.
    Our recommendation is to use PDF rendering extension instead.

    Regards,
    Silviya
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top