on 05-30-2011 6:02 PM
Dear Friends,
I have requirement in which i need to divide total number output pdf pages into two parts.
E.g. If there are 10 pages Then 10 / 2 = 5
Before generation of pdf file from smartform it automatically divide by 2 and then show these files.
How to do this?
Thanks & Regards,
Ravi Grover
Is this:
a PDF that you have converted from a spool?
or
a PDF that you have uploaded from a server?
or
an ADOBE form?
Rob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rob,
when you call the function module of the smartform you have the output parameter:
DOCUMENT_OUTPUT_INFO-TDFPAGES
It is the number of pages of the smartform.
Then... you can call the funtion module of smartform two times :
1rst with the input field OUTPUT_OPTIONS-TDPAGESLCT from 1 to number of pages / 2
2nd with the input field OUTPUT_OPTIONS-TDPAGESLCT from number of pages / 2 to number of pages
And generate both pdf.
Bye!
You can not divide the PDF itself.
But if that PDF is created from a spool/printout, you could divide the output into two spools beforehand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.