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

How much of page used before print

1 Answer 10 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wilton
Top achievements
Rank 1
Wilton asked on 10 Jul 2013, 01:51 PM
Hi.

Is it possible to know how much of page will be used before print it? (The data is dynamic)

The ideia is to know how much of page will be used to decide if I will print in only one page like below or two pages.

customer receipt
some data printed

-------------------------
company receipt
some data printed

If customer receipt pass the size that I tought then I will use two or more pages.

Best regards

Wilton Ruffato Wonrath

1 Answer, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 11 Jul 2013, 02:56 PM
Hi Wilton,

You could put your :
  • customer receipt
  • some data printed
data in a report or a table group and set the "Group Keep Together" property to True. This way the paging algorithm would try to keep this group on one page.

The paging mechanism calculates the position of report items based on the physical size of the page. This view utilizes the same paging algorithm as when printing the report on a printer, exporting in PDF or MS Word (both use physical page setup as well). That's why you should not try to calculate the occupied page space and utilize the built-in reporting techniques instead. Here are some links to the documentation articles that explain the pagination process:
Regards,
Ivan Hristov
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Wilton
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Share this question
or