cancel
Showing results for 
Search instead for 
Did you mean: 

How to Print Particular Page in Smartform

Former Member
0 Kudos

Hi ,

Anyone Give me steps to Print Particular Page when Printing Several Forms in One Print Request .

Am Using smartform Within the Loop , So i Used SSF_OPEN And SSF_CLOSE. When am printing the Smartform i gave particular Page in Dialog Box , But all the pages are Printed.

Please Help me to Solve this Problem.

With Regrds

Kesavaperumal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kesav,

You can do this in Print Control Dialog, when you give printer name as LP01 or LOCL , just below that, one input field 'Page Selection' is available,

You can give like

Pages selected for printing

You can define which pages should be output in the page selection.

All pages are printed if an entry is not made here.

You can either specify individual pages or a range of pages. These entries are separated by a comma.

Examples:

4 only page 4

2-5 pages 2 to 5

-20 up to and including page 20

3- from and including page 3

4,8-10,15- pages 4, 8 to 10, and page 15 onwards.

And If you need to control the rpinted copies from the program , you can try with the OUTPUT_OPTIONS-TDPAGESLCT parameter of Functionmodule (which is generated from Smartform).

Hope this solves your issue

Rgds,

Sripal

Former Member
0 Kudos

Hi Sripal,

I given that value for Page Selection in Print Dialog Box. But Still All the pages are Printed.

With Regards

Kesavaperumal

Former Member
0 Kudos

Hi,

Pass the value to SSFCOMPOP-TDPAGESLCT then it will print the required pages.