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

Performance in Smartform printing

Former Member
0 Likes
451

Hello All,

I would like to know whethere both below steps for printing of say 100 copies of smartform are one and same.

1) I use DO...ENDOO or loop...endloop and call smartform that many no of times as no of copies to be printed.

2) I use smartform property of SSFCOMPOP-TDCOPIES directly and print the same without using loop above.

Wanted to just confirm whether its really advantageous to use step 2 with large no of copies to be printed OR smartform internally loops and works same way as step 1.

Please advise.

Thanks,

Mohit.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
425

Hi ,

You should not put the call to a smartform in a loop . It is not required .

If u want take 100 copies of the smartfrom give the no of copies = 100 in the print dialog box that appears after you execure the print program for smartfroms .

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
426

Hi ,

You should not put the call to a smartform in a loop . It is not required .

If u want take 100 copies of the smartfrom give the no of copies = 100 in the print dialog box that appears after you execure the print program for smartfroms .

Regards

Read only

Former Member
0 Likes
425

Hi Mohit,

Use the second option only. That is better. If you call SMART FORM in a loop, for printing each copy, it has to execute the smartform sgain which will consume a lot of time. This includes setting up of the smartform initially for the printer etc. If you set the TDCOPIES instead, it wont waste the additional time required for the initialization before the smartform call.

Pls reward if it is useful.