Application Development 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: 

issue

Former Member
0 Kudos

hi folks,

I have a standard page which has static content to be displayed on the back of the first page, How can I do that using 'smartforms'? How can I instruct the printer to run that content in back of the first page

Thanks in advance

Vinu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You cannot have two main windows in a form.

If you want to use MAIN window on page "NEXT" also

just right click the main window on PAGE1 , copy , -> put cursor on page NEXT , paste . The window should have same attributes on both page i.e. width , length , margins etc.

Cheers

12 REPLIES 12

Former Member
0 Kudos

My question is?

The content that goes into the back side of the first page of the smartform is different to the content in the next page (front side)of the statement.

Thanks in advance.

Vinu

0 Kudos

Vinu,

To make a SmartForm print double sided, you need to set the "Print Mode". This is found in the "Output Options" in the PAGE definition.

If the FIRST page needs something special (such as Terms and Conditions) on the back of it but then every other page continues the list, then must define a "TERMS" page.

In the FIRST page definition, make the "TERMS" page the next page and set the Print mode to "Duplex".

Now in the Page Definitions for "TERMS" page, set the next page to be "NEXT".

Hope this is what you are after.

Cheers,

Pat.

PS. Kindly assign eward Points to the posts you find helpful.

0 Kudos

What patrick said is right.

what u need to do is to set the mode while printing to duplex. Ofcourse ur printer has to support duplex printing, which most printers today do.

Kindly reward points and clsoe this thread, if ur Q is answered...

Rgds,

Prashanth.

0 Kudos

Pat,

I did that and it throws an error message that

'Two main windows' are not allowed.

Infact the NEXT page after this I have declared the print mode as 'S'.

What could be the problem here?

Vinu

Former Member
0 Kudos

Also you can check OSS 96102 for device type settings and supported device types.

Cheers

Former Member
0 Kudos

You cannot have two main windows in a form.

If you want to use MAIN window on page "NEXT" also

just right click the main window on PAGE1 , copy , -> put cursor on page NEXT , paste . The window should have same attributes on both page i.e. width , length , margins etc.

Cheers

0 Kudos

hi,

I hope you got the essence of the issue, In the 'FIRST-PAGE' I gave the print mode as 'duplex' because I need to rpint something on the back side of the first page only.

and named it as 'TERMS' page

It is follwed by the 'NEXT' page that does not have anything on the back side of it.

This is the workflow.

I printed the statement all the three are printing in three different pages.

Do I need to declare the print mode for the 'TERMS' page and infact I have declared the print mode for 'NEXT' as 'S'.

Thanks in advance

It is very urgent..

Vinu

0 Kudos

Have two questions here...

I am able to print the page in the back side but the page numbering is getting messed up.

For example if it isa two page document with the first page being the double sided, the for the next page it is taking the numbering as '3'.

Also.

In the example where I am printing the form, it has enough data to be printed in two pages, is there any changes that I need to make for an one page form so that the back side of the first page do gets printed at any instance?

I hope you are able to get the point.

Vinu

0 Kudos

Hi Vinu

FIRST PAGE:

- NEXT PAGE is TERMS

- PRINT MODE is DUPLEX

TERMS PAGE

- NEXT PAGE is NEXT

- PRINT MODE is SIMPLEX

NEXT PAGE

- NEXT PAGE is NEXT

- PRINT MODE is SIMPLEX

Max

0 Kudos

Thanks a lot MAX, can you help me in this issue too?

Vinu

0 Kudos

Hi

A)

- Create a global variable PAGE LIKE SFSY-PAGE,

- In the beginning of FIRST (and NEXT) insert a piece of code to calculate the PAGE:

PAGE = SFSY-PAGE - 1.

IF PAGE = 0. PAGE = 1. ENDIF.

- Create a window to print the page number: print PAGE instead of SFSY-PAGE.

You can do it too, it's easier:

print SFSY-PAGE for page number and set INITIALIZE COUNTER in general attribute of page TERMS.

B)

- Create a new page TERMS2 as copy of page TERMS, set no page as next page, in the first page insert a node command:

in GO TO NEW PAGE, set TERMS2

active the checkbox: Only on FIRST PAGE

Only After End of MAIN WINDOWS

So now you can use TERMS2 as back page only if your document has only one page

Max

Message was edited by: max bianchi

0 Kudos

The logic works fine as of now when i run the form for individual customers, It will be interesting to see how the logic works upon running in a batch of customers.

Thanks a lot and i shall award the points accordingly.

Vinu.