cancel
Showing results for 
Search instead for 
Did you mean: 

Same SAP Script for different page size

Former Member
0 Kudos

Hi,

I have a very unique requirement. There is a form which has been developed for A4(DINA4) format.

Now, user has put down a new requirement where he wants to use A4 size for America and 8.5X11 size printing for Europe region and they don't want to create a new form for different regions.

Is there a way out where we can use the same development(without creating a duplicate form) for both regions?

Regards,

Chirantan

Accepted Solutions (0)

Answers (2)

Answers (2)

aidan_black
Active Contributor
0 Kudos

Hi,

You should use page format INCH12 in the form. When you use INCH12, there is no command sent to the printer to select a certain page size. The default paper of the printer is used. See KBA [1603736|https://bosap-support.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303136303337333626]

Regards,

Aidan

Former Member
0 Kudos

Hi Aidan,

Can you provide me the link again? The one you provided isnt working.

Thanks,

Chirantan

aidan_black
Active Contributor
0 Kudos

Hi,

It's strange, the link works ok for me. The main points are below:

You should specify Page Format INCH12 in the sapscript form or smartform. When you specify page format INCH12, no command is sent from SAP to the printer to select the paper size. The default paper of the printer is used. Of course your form needs to be designed so that the contents fit into either an A4 or a LETTER size page.

regards,

Aidan

Former Member
0 Kudos

Hi

You can create a new page for the old form based on the new format, in this way your form will have 2 pages:

- 1) The old one for A4 format

- 2) The new one for A4 America format

The flow of the pages has to be they have the same page as next one, so:

- 1) The old page will have the old page as next one;

- 2) The new page will have the new page as next one;

At the the end you need to change the print program in order to decide which page has to be used, the page can be set by fm START_FORM (importing paramenter STARTPAGE)

Max

Former Member
0 Kudos

Thanks for the reply..but the problem is that page size is not same

America uses A4 size.

and Europe uses 8.5X11 page size.

what you are suggesting will work if both use A4 page size.

Former Member
0 Kudos

The page format placed in the header of sapscript has to be for the page with the bigger size,

so the other page will be disegned om A4 format but it need to re-sizing the windows in according to the size of the new format.

Max