1 Reply Latest reply on Feb 11, 2013 8:29 AM by philmodjunk

    pages size of printed PDF

    Saltaras

      Title

      pages size of printed PDF

      Post

           I know how to script total pages using the first record / last record etc. method.  BUT what I need to know is how many pages are in a printed PDF (so as to list page 1 of 3 etc.).  It is only a single record being printed, but the record is usually 3-4 pages long.  Is there any way to get this information?  ie: how many pages will the pdf be that is printed from the single long record?    Thanks.

            

        • 1. Re: pages size of printed PDF
          philmodjunk

               Use a script:

               Enter Preview Mode
               Go to Record/Request/Page [Last]

               Now Get ( PageNumber ) will return the page number of the last page and this will be the number of pages to your document.

               Set Field [Table::GlobalField ; Get ( PageNumber ) ]

               or

               Set Variable [ $$GlobalVariable ; value: Get ( PageNumber ) ]

               can then be part of your script and then the field or variable can be placed on your report layout to display the total number of pages.