The SAS Output Delivery System and reporting techniques

Storing ODS PDF page numbers to macro variables

Reply
N/A
Posts: 0

Storing ODS PDF page numbers to macro variables

Hi,

I am working with a long document and need to get the page numbers produced by ODS PDF stored into macro variables. Is there any way to do this? Any help would be greatly appreciated.

Thanks,

~Matt
SAS Employee
Posts: 50

Re: Storing ODS PDF page numbers to macro variables

Posted in reply to deleted_user
Matt,

I can't think of a way to do this. We do all the measuring in ODS and then release a page of output when it's full. Using the pre-production inline function ^{lastpage} your output can have a nice "Page 1 of n" look but that logic is not accessible anywhere else. Currently lastpage does not work with images. Hopefully we can get all of this in a future release.

Scott
Ask a Question
Discussion stats
  • 1 reply
  • 115 views
  • 0 likes
  • 2 in conversation