Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

script page format

Former Member
0 Likes
869

I need to print two pages in a script.How to assign first page as potrait and second page as landscape for that two pages.

regards

pavan

7 REPLIES 7
Read only

Former Member
0 Likes
827

Hi pavan,

1. In sapscript, its not possible,

bcos portrait/landscape

setting

is a BASIC SETTING

2. which applies to the whole script

3. (and not page wise)

4. This problem is tackled by smartforms.

regards,

amit m.

Read only

Shivaji16
Active Participant
0 Likes
827

kindly confirm whether you need different Page orientations or Formats..?

Orientation - Portrait or Landscape..

Format - A4 or Letter..

Read only

Former Member
0 Likes
827

I need orientation

Read only

Former Member
0 Likes
827

Hi Pavan,

In One sapscript form its not possible.I think you will have to create two sapscript form with different orientation and call one after the other.

Regards,

Mukesh Kumar

Read only

Former Member
0 Likes
827

Hi Pavan,

You cannot do such type of setting in sapscript as it applies to all pages.

Read only

Former Member
0 Likes
827

Hi Pavan,

I got your point. First create layout set in the potrait format and next create another form in the landscape format. Now open the print program. Your femiliar with <b>START_FORM</b>. so we first call function START_FORM for potrait (Give u r potrait form name) and end that with END_FORM and again call function START_FORM for land scape(give u r land scape form name) and close that with END_FORM. Now we can print both the forms at a time. start_form is mainly using for start the new form.

Hope this will help you.

Regards,

Ravi.

Read only

Former Member
0 Likes
827

HI pavan ,,

i am also agreeing with Ravi..

wat he said is correct,

You cannot make it in a single form,For this you need to take two forms but they should be in single SPOOL request,

for this you wat u need to do is

<b>First write OPEN_FORM (with out form name)

START_FORM(With First form in which page format is Portrait)

END_FORM

START_FORM(With Second form in which page format is Landscape)

END_FORM

and finally

CLOSE_FORM.</b>