‎2012 Jul 17 4:55 PM
Hi friends,
I have an requirement where I need to print two line items on each pre printed page. I have used command line in my last window to call next page but it is able to trigger 2 page only not the third one.
for example... If I have no 1 to 5 items in a internal table then Item 1 to 2 on page 1, 3 to 4 on page 2 and 5 should be print on page 3 only. Here all page are same(First page only).
I used below logic to populate item data...
1) At first , just pass first two line items in table so it can print both line item on first page and command line trigger next page(PAGE 1)
2) At Second, pass third to four row only in table so it can print both line item on first page but here command line not triggering next page(PAGE 1) again
Please help me
‎2012 Jul 17 5:47 PM
Try to move your command line to within the Main Area of your table. Have a counter which you increment at each loop pass, check this in the command line and throw a page break. Reset the counter.
More than likely having the command line in the last window rather than the main table area is causing this.
‎2012 Jul 17 5:34 PM
Hi
i think you do not need to use break page.
just decrease the size of your main window (where you should have your table) so that only 2 lines could be printed and automatically the a page break is trigger when 2 lines are printed.
Regards
‎2012 Jul 17 5:47 PM
Try to move your command line to within the Main Area of your table. Have a counter which you increment at each loop pass, check this in the command line and throw a page break. Reset the counter.
More than likely having the command line in the last window rather than the main table area is causing this.