cancel
Showing results for 
Search instead for 
Did you mean: 

Get the number of pages in fpformoutput

Former Member
0 Kudos

Hello,

i want to determine the number of pages of an PDF-Document.

For this purpose i open the form using the outputparams as described:

device = printer

nodialog = 'X'

getpdf = 'X'

connection = <connection-String>

dest = <dest-string>

copies = 1

dataset = <dataset>

suffix1 = <suffix1>

suffix2 = <suffix2>

receiver = <user>

lifetime = <lifetime>

there is a resultig PDF, everything is ok, but fpformoutput-pages is always 1.

What do i wrong, to receive the correct number of pages of the generated pdf?

Is there any other way to receive the number of pages of the generated pdf-document?

I need this number to determine the correct spool for the pdf.

Thanks a lot  /uwe

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Uwe,

Could my blog post help you out. Please go through it, might be you will find something.

http://scn.sap.com/community/interactive-forms-by-adobe/blog/2012/10/24/reset-the-page-numbering-in-...

Rgds,

Nitin.

Former Member
0 Kudos

Hello Nitin,

thx for your tip.

This helped me to find my error, actually i'm doing something similar, there was a flag that said to the form "crop to one page" via interface, and that flag was not initialized during a loop. My mistake... 😉

Kind regards,

/uwe

Answers (0)