Uderc programming article aggregator sites

How to print new order in odd page or new page

Tags:
Answers: Have 3 answers
Advertisement
Hi Experts,
I want to print my order layout in oddpage. If any new order comes it should print inthe odd page. Currently its printing Back to back.
But I want to print my order layout in oddpage or new page.
Any one guide this??
Offering points is against the terms of engagement.  Text changed by moderator.  Also, do not post the same question in more than one forum.
Mohana
Edited by: Mohana Vijayan on Oct 31, 2008 8:35 AM
Advertisement
The best answer: Hi mohana,
For script or smartform?
In case smartform
Create  pages as per your requirement.
In the global defintion --> initialization tab -->
if w_page = 1.
control_parameters-startpage = '%PAGE1'.
else.
control_parameters-startpage = '%PAGE2'.
ENDIF.
Regards,
Sravanthi