cancel
Showing results for 
Search instead for 
Did you mean: 

First page is printing in landscape format and next all potrait

Former Member
0 Kudos

Hi All ,

The first page of sapscript is printing in the landscape format and reat alll are not . All the pages have to print in landscape , Is it some setting of printer or SAP program.

Thanks For help

Vinay

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi vinay kolla ,

Whenever u wnat the different page fromat like portriat or landscape fromat etc u need to call the start_ form and end_froms.Otherwise you wont get the different layouts for different pages.

Or else if u want to maintain the all pages as landscap

goto transaction se71,

Click on BASIC SETTINGS--->and there u can fing the options like portriat and landscape.

Or if u want to maintain one page as portriat and the other pages as landscape,you need to call the

start_form and end_form.

In between start and endform you have call the window.Only one window for start and end form.

If u want to call the other window again we need to call the start and end formlike that..

Regards

Kiran

Former Member
0 Kudos

Hi Vinay,

Refer these lines given in help.sap.com

SPORT : Switch to printing in portrait mode at the start of a page.

This instruction is sent to the printer at the start of every page that is printed in portrait mode.

You need maintain this print control only for printers that can switch modes (page printers). You can define the print control with an empty Control character sequence where it is not needed (for printers that do not support landscape printing and for line printers that print on endless paper).

Required by: STN2, and HPL2 printer drivers.

SLAND : Switch to printing in landscape mode at the start of a page.

This instruction is sent to the printer at the start of every page that is printed in landscape mode.

You need maintain this print control only for printers that can switch modes (page printers). You can define the print control with an empty Control character sequence where it is not needed (for printers that do not support landscape printing and for line printers that print on endless paper).

Required by: STN2, and HPL2 printer drivers.

For more information refer this link to:

[Print Controls|http://help.sap.com/saphelp_40b/helpdata/en/d9/4a95f051ea11d189570000e829fbbd/content.htm]

Regards,

Sravanthi

Former Member
0 Kudos

Hi Vinay ,

I have been trying your prob!

Jus try changing the page format and reassign it .

hope it works!

Much Regards ,

Amuktha .

Former Member
0 Kudos

You have to check the Basic settings for First and Next Page. It might be landscape only for first page, others might be portrait.

Regards,

Joan

Former Member
0 Kudos

Hi All ,

Thanks for the responses I have looked at the things suggested .They all are okay .

Still no luck in resloving it .

Thanks

vinay

Former Member
0 Kudos

Hi Vinay ,

1 . Did you call any other form using 'Start_form' or 'End_form' in your program .

Coz if in your first form you use landscape and the next if its portrait this can happen .

2 . Or if for the other pages except first , just check the alignments and marginal measurements .

Regards ,

Amuktha.

Former Member
0 Kudos

Hi Vinay

It is actually not possible to have different page orientations for a single script.

Have you checked that it's a single script you are taking the printout from?

There could be one script for the first page and another for the rest.

Pushpraj

Former Member
0 Kudos

Hi Phushraj ,

Thanks for respone

Its only sap script for all the pages . the problem started after version upgrade .

Thanks

Vinay

Former Member
0 Kudos

Hi

Have you tried printing on a different printer?

You could also try changing the orientation from whatever it is now and then printing.

Or since it's come after the version upgrade you could search for some OSS notes.

Pushpraj

Former Member
0 Kudos

Hi Vinay...

As all pages in should follow the Basic Settings property in Header, I wonder how this is not happening.

Just check out whether NEXT page of FIRST page is defined or not??

Regards,

sg.

Former Member
0 Kudos

Hi susheel ,

yes the "next page " of first page is difined .

Thanks

Vinay