PrintOn property

Stimulsoft Reports.Flex discussion
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

PrintOn property

Post by Andrew »

Hello,

We expect it released today.

Thank you.
vitaliy.urazov
Posts: 47
Joined: Thu Jul 14, 2011 6:09 pm

PrintOn property

Post by vitaliy.urazov »

I tried new prerelease build with no success :cry:
Try attached report to test it.

Test case:
HeaderBand
DataBand
FooterBand1
FooterBand2
What i need:

FooterBand1 to be printed on every page except the last one. PrintOn:Except Last Page, KeepFooterTogether:true.
FooterBand2 to be only printed on the last page. PrintOn:Only Last Page, KeepFooterTogether:true
Exception: last page == first page. Expected result: only FooterBand2 printed.


Current result:

FooterBand1 is not printed at all.
FooterBand2 works correctly.

It still doesn't work.

Fix it asap please, I need it very much in my application.

Thanks
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

PrintOn property

Post by Ivan »

Hello,

Your message contains no attachment.
Please attach your report template.

Thank you.
vitaliy.urazov
Posts: 47
Joined: Thu Jul 14, 2011 6:09 pm

PrintOn property

Post by vitaliy.urazov »

Ivan wrote:Hello,

Your message contains no attachment.
Please attach your report template.

Thank you.

Hello,

Mentioned template is in this thread, a few messages earlier.
Anyway, here it is.
Attachments
1194.testFooter2.mrt
(15 KiB) Downloaded 718 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

PrintOn property

Post by Ivan »

Hello,

Please do the following:
- set the NumberOfPass property of the report to DoublePass,
- set the PrintOnAllPages property of the FooterBand1 to true.

Thank you.
vitaliy.urazov
Posts: 47
Joined: Thu Jul 14, 2011 6:09 pm

PrintOn property

Post by vitaliy.urazov »

Ivan wrote:Hello,

Please do the following:
- set the NumberOfPass property of the report to DoublePass,
- set the PrintOnAllPages property of the FooterBand1 to true.

Thank you.
Hello,

Did you check it yourself?

It doesn't work.

Could you send me your example. I don't know how to make it work even using your instructions.

Thanks.

ps:

PrintOnAllPages is equal PrintOn=AllPages?
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

PrintOn property

Post by Andrew »

Hello,

We have checked everything again.
I regret to say that, by technical reasons, there is an error in build which is uploaded on the site: the PrintOnAllPages property of the FooterBand was not displayed in the PropertyGrid.
The problem is solved. The patch will be available in the next prerelease build.

The NumberOfPass property of the report in the last build work correctly, so IsLastPage variable also work correctly.



Thank you.
vitaliy.urazov
Posts: 47
Joined: Thu Jul 14, 2011 6:09 pm

PrintOn property

Post by vitaliy.urazov »

Andrew wrote:Hello,

We have checked everything again.
I regret to say that, by technical reasons, there is an error in build which is uploaded on the site: the PrintOnAllPages property of the FooterBand was not displayed in the PropertyGrid.
The problem is solved. The patch will be available in the next prerelease build.

The NumberOfPass property of the report in the last build work correctly, so IsLastPage variable also work correctly.



Thank you.

Could you give small explanation for those properties please?

1. What does PrintOnAllPages property mean?
2. What does PrintOn property mean?

Is there any document describing meaning of all properties?

Thanks.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

PrintOn property

Post by Ivan »

Hello,

HeaderBand, FooterBand, ColumnHeaderBand, ColumnFooterBand, GroupHeaderBand have the PrintOnAllPages property, which may have two of the following values: true and false.
If the property is set to false, then bands are printed one time in a report before/after the DataBand to which they are related.
If the property is set to true, then these bands are printed only on report pages where a Data Band to which they are related is printed. The bands mentioned above are printed before/after their Data Band.
By default the PrintOnAllPages property is set to true for HeaderBand and ColumnHeaderBand. For other bands this property is set to false.

The PrintOn property have all components including HeaderBand and FooterBand. This property is used to display a component on report pages according to the value of this property. If the property is set to All pages, then components will be shown as usually. If the property is set to any other value then the component will not be showing on the first/last page of a report or on the contrary will be shown on all pages except the first/last ones.

Thank you.
vitaliy.urazov
Posts: 47
Joined: Thu Jul 14, 2011 6:09 pm

PrintOn property

Post by vitaliy.urazov »

Ivan wrote:Hello,

HeaderBand, FooterBand, ColumnHeaderBand, ColumnFooterBand, GroupHeaderBand have the PrintOnAllPages property, which may have two of the following values: true and false.
If the property is set to false, then bands are printed one time in a report before/after the DataBand to which they are related.
If the property is set to true, then these bands are printed only on report pages where a Data Band to which they are related is printed. The bands mentioned above are printed before/after their Data Band.
By default the PrintOnAllPages property is set to true for HeaderBand and ColumnHeaderBand. For other bands this property is set to false.

The PrintOn property have all components including HeaderBand and FooterBand. This property is used to display a component on report pages according to the value of this property. If the property is set to All pages, then components will be shown as usually. If the property is set to any other value then the component will not be showing on the first/last page of a report or on the contrary will be shown on all pages except the first/last ones.

Thank you.
Thanks for answer.

Tell me please the priority of these properties.
For example, what would be the result of the following combination?
PrintOn=AllPages
PrintOnAllPages=false

Would be nice to know priority of all properties.

And, again, report DOESN'T work properly!
I'm really upset by this, guys! Just a few tests to find it - another week to wait (

Try attached report.
If you set countData of DataBand = 5 the footer1 doesn't appear. If 7 it appears. Seem like there is an error in calculating page size.

Thanks.
Attachments
1234.testFooter2.mrt
(15.36 KiB) Downloaded 812 times
Locked