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

Html output and page borders

3 Answers 194 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
craig
Top achievements
Rank 1
craig asked on 14 Aug 2018, 09:09 AM

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

3 Answers, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 17 Aug 2018, 07:11 AM
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
0
craig
Top achievements
Rank 1
answered on 17 Aug 2018, 08:13 AM

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

0
Silviya
Telerik team
answered on 22 Aug 2018, 06:57 AM
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
Tags
General Discussions
Asked by
craig
Top achievements
Rank 1
Answers by
Silviya
Telerik team
craig
Top achievements
Rank 1
Share this question
or