Print rows per page

Stimulsoft Reports.PHP discussion
lucas.vieira
Posts: 10
Joined: Thu Jun 11, 2015 1:14 pm

Print rows per page

Post by lucas.vieira »

Hello, good morning

I have a question, I have to make a report that prints a number of lines per page something like

page 1/2

row nº1
row nº2
row nº3
row nº4
row nº5
------------------------------

page 2/2


row nº6
row nº7
row nº8
row nº9
row nº10
------------------------------

but I do not know how I will. I've tried several ways, but all failed.

And, sorry for my poor english :D

Thank you
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Print rows per page

Post by HighAley »

Hello.

You can add {Line} system variable to the text component.
You could read more in the User Manual.

Thank you.
lucas.vieira
Posts: 10
Joined: Thu Jun 11, 2015 1:14 pm

Re: Print rows per page

Post by lucas.vieira »

Well, first, thank you for your attention.
I think I expressed my doubt wrong, I do not want to print the number of lines, but the information from my database that order I exemplified above.

Thank You
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Print rows per page

Post by HighAley »

Hello.

Sorry, maybe we don't understand your issue.
Please, explain it more detailed. What do you get and what do you need to change?

Thank you.
lucas.vieira
Posts: 10
Joined: Thu Jun 11, 2015 1:14 pm

Re: Print rows per page

Post by lucas.vieira »

Hi.

Well, I have my datasource and I want to print the data of them the way I exemplified, these data have to be printed up to five per page, something that limits my DataBand. Following the order

page 1/2
---------------------------
1 Datasource.item
2 Datasource.item
3 Datasource.item
4 Datasource.item
5 Datasource.item
---------------------------
page 2/2
---------------------------
6 Datasource.item
7 Datasource.item
8 Datasource.item
---------------------------

Understand?! :D

Thank you!
lucas.vieira
Posts: 10
Joined: Thu Jun 11, 2015 1:14 pm

Re: Print rows per page

Post by lucas.vieira »

Hello?!

Someone here?!
lucas.vieira
Posts: 10
Joined: Thu Jun 11, 2015 1:14 pm

Re: Print rows per page

Post by lucas.vieira »

Hello,

I want to print like this
like this
like this
I WANT.jpg (345.5 KiB) Viewed 6883 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Print rows per page

Post by Alex K. »

Hello,

Unfortunately, there is no the standard way for PHP version.
Can you please send us a sample report with test data for analysis.

Thank you.
lucas.vieira
Posts: 10
Joined: Thu Jun 11, 2015 1:14 pm

Re: Print rows per page

Post by lucas.vieira »

Hi,

I no have a report for this example on Stimulsoft, for this report I used FPDF library, however, there would be some other way to accomplish this in Stimulsoft?

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Print rows per page

Post by Alex K. »

Hello,

As a way you can try to use the Panel component with the fix Height for this task.

Thank you.
Attachments
ReportSample.mrt
(21.86 KiB) Downloaded 575 times
Post Reply