Skip to Content
author's profile photo Former Member
Former Member

Get the number of pages in fpformoutput

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2012 at 05:44 PM

    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-master-page-2-or-3-pages

    Rgds,

    Nitin.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.