Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: SAPSCRIPT total no.of pages passing as 1 on First page, but need total no.of pages on 1st page.

$
0
0

Hi Monica

 

I dont see any direct solution for this issue as the total number of pages count is still in progress. I can think of two workaround for the same.

1. Using the number of lines to be printed on each page you derive the number of pages. For example if you have 30 lines to print and each page can print 10 lines means 3 pages

2. It is a fool proof one but not the best you execute the script twice first time with no output by setting OTF parameter and so next time when you call open_form for printing you will have number of pages to be printed from first call...its like we simulate andthen we post

 

Nabheet


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>