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: 

How to Print T&C on backside of the last page in smartform.

Former Member
0 Kudos
1,585

Hi All,

         I have requirement from one of the my client to print the terms & condition page on the back side of last page in invoice form.

I have created three pages as below.

First page: To Print header data,Print mode:blank,Next page : NEXT.

Second page : Contains the continuation of the data,if there are enough lines,Print Mode: D,Next page : NEXT.


Last page:To Print T&C,Print mode : blank,Next page :blank.


  

            This is working properly when form has 2 pages.Here my question is,

How to print the T&C on backside of first page,if form has only one page.




Thanks in Advance.


1 ACCEPTED SOLUTION

Former Member
0 Kudos
775

Hi Priya,

From below screen shot: Create a command and terms and condition page.

The command should be at end of main window. In main window check the checkbox go to new page and give terms and condition page.

Then your problem will be solved.

15 REPLIES 15

FredericGirod
Active Contributor
0 Kudos
775

Hi

add a command in the end of the MAIN window to call the LAST page only after the main page

regards

Fred

0 Kudos
775

Hi Fred,

    Thanks for your reply!!

I'm able to print the last page only at the end of main window.

But i need to print the last page (T&C page) as backside of page( it may be first page or next page ).

There are 2 scenarios:

1.If the form has only one page, the T&C should print at backside of first page.

2.If the form has multiple page, the T&C should print at backside of next page.

2nd scenario is working properly for my above conditions i had posted.My problem is

to print T&C at backside of first page,if form has only one page.

Thanks in Advance.

0 Kudos
775

Hi Priya,

Then follow below screen shot

From above screen first page where main window will be there give next page as second.

In page second write terms and condition .

So terms and condition will come on every page backside.

Regards,

Vineesh.

0 Kudos
775

Hi Vineesh,

Thanks for respond!!

        

        I need to print the T&C page as backside of the last page.

The last page may be first page or the next page.This is based on the line item in the invoice.

0 Kudos
775

Hi Priya,

I have posted 2 screen shots.

Above screen shot will print T&C on back side of each page.

Below screen shot will print T&C on back side of last page.

Regards,

Vineesh B.

Former Member
0 Kudos
776

Hi Priya,

From below screen shot: Create a command and terms and condition page.

The command should be at end of main window. In main window check the checkbox go to new page and give terms and condition page.

Then your problem will be solved.

0 Kudos
775

Hi Vineesh,

I have 3 pages in my form.

First page: To Print header data, Print mode:blank, Next page : NEXT.

                     First page has the comment node, go to next page as Third page.

Second page : Contains the continuation of the data, if there are enough lines, Print Mode: D,

                      Next page : NEXT.


Third Page: T&C page, Print mode : blank,Next page :blank



The 3rd page should print back side of the page.



If form has only one page,then first page should be in D mode.Hence the T&C page will print back side of first page.


If form has multiple pages. then the last page ( where the main window gets end ) should be D.Hence

the T&C page will print back side of last page.


How to achieve this both the scenarios?




Thanks & Regards,

Priya Chandran


0 Kudos
775

Hi Priya,

If you want backside for only one page(last Page) then its not possible in smartform as it belongs to printer setting.

Even in printer you can get back to back prints but not one print back to back and remaining in different pages.

In that case print all pages except last 2 and print last 2 back to back.

Regards,

Vineesh B

younes_asri
Explorer
0 Kudos
775

Hi Praya,

I had the same problem with my Smartforms and the solution is that you have to create 4 pages as follow :

  • FIRST : Contains Header data ( Print mode : D, Next page : BACK )
  • NEXT  : Contains Continuous data ( Print mode : D, Next page : BACK )
  • BACK  : Contains T&C ( Print mode : blank, Next page : NEXT )
  • LAST  :  Contains T&C as well ( Print mode : blank, Next page : blank )

Then, in the end of your MAIN window, you put a Command that sends you to the last page LAST.

( General attributes > Go to new page : LAST ).


I hope this will solve your problem,

Younes ASRI

0 Kudos
775

Hi Younes,

      The above setting will print the T&C at backside of all the pages.

I hope my requirement is clear.

Thanks & Regards,

Priya Chandran

0 Kudos
775

Hi Praya,

Sorry, I misread your request.

So to resolve your problem, you just need to create 3 pages as follow :

  • FIRST : Contains Header data       ( Print mode : D, Next page : NEXT )
  • NEXT  : Contains Continuous data ( Print mode : D, Next page : NEXT )
  • LAST  :  Contains T&C                 ( Print mode : blank, Next page : blank )

Then, in the end of your data in the main window, you flag a variable.

This variable will be the condition to the command wich sends you to the last page LAST.

I just tested this and it works for one or more pages.

That's my example :

Regards,

Younes ASRI

0 Kudos
775

Hi Younes,

      I also tried this.But first page has the Print mode as D.This will print the next page as backside

of the first page.

Please correct me if i'm wrong.

Thanks,

Priya Chandran.

0 Kudos
775

Hi Priya,

Yes, you're right.

So if you want T&C to be the only page in the backsyde, you have to put print mode 'T' for last page and blank for first and next page I guess.

Regards,

Younes ASRI

0 Kudos
775

Hi Priya,

First page where main window exits need to have print mode empty and for terms and condition page print mode need to be 'D'.

And in First page after table keep command node and go to new page to terms and conditions page as below. Its working now

Regards,

Vineesh B

0 Kudos
775

Hi Vineesh,

         The above setting will work if you have only 2 pages ( First page and T&C page).

In my requirement i have already 2 pages.

First page : secondary windows and,main window.

2nd page  : secondary windows and,main window.

Regards,

PriyaChandran