cancel
Showing results for 
Search instead for 
Did you mean: 

Dividing Genrated PDF no of pages into two parts

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Rob,

A PDF that have converted from a spool.

Former Member
0 Kudos

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!

Answers (1)

Answers (1)

Former Member
0 Kudos

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.