cancel
Showing results for 
Search instead for 
Did you mean: 

Need to supress page in print preview

Former Member
0 Kudos

Hi experts,

I have a smartform which needs to be printed on both sides of the page. I have been able to do this functionality. Now I want that when I do print preview for the smartform, I want don't want to display the back side of the page in print preview.

I my smartform, i have a separate page to display the back side of the form. Can i put some condition in this page to suppress this page in print preview?

Can anyone suggest me how can i achieve this functionality please?

Thanks and regards,

Zaheed.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I don't think it's possible to view page-1 only when you have 2 pages.

Answers (1)

Answers (1)

sridhar_k1
Active Contributor
0 Kudos

If you know the printprogram is going to display print preview before calling the smartform function module, then you can display pages selectivly by populating TDPAGESLCT of parameter OUTPUT_OPTIONS with page numbers before calling smartform fm.

if the output shows 2 pages,

OUTPUT_OPTIONS-TDPAGESLCT = '1' prints/displays only page 1.

Regards

Sridhar