The SAS Output Delivery System and reporting techniques

page X of Y sas 8.2

Reply
N/A
Posts: 0

page X of Y sas 8.2

Hi can any one tell me how to insert page x of y in SAS v 8.2
i tried this code but it is not working
footnote j=r 'Page ~{thispage} of ~{lastpage}';
thank you
SAS Super FREQ
Posts: 8,868

Re: page X of Y sas 8.2

Posted in reply to deleted_user
Hi:
Since HTML doesn't do page numbers, you must mean either RTF or PDF. RTF is covered in this Tech Support note for 8.2:
http://support.sas.com/kb/24/042.html
(warning -- do NOT delete or change a single curly brace in this RTF control string)

For PDF, you had to create a PostScript file (as I remember) write a program to "post-process" the PostScript file to insert the X of Y string and then manually distill the PostScript file to a PDF format. (Reason enough to get SAS 9 right there). Here's the older link: http://support.sas.com/rnd/base/ods/odsprinter/ Look for the section on Pageof or XofY. If you're interested in PDF, you may have to contact Tech Support for more help on this one. I think there's a SAS macro or program that you can download to get you started.

cynthia

cynthia
N/A
Posts: 0

Re: page X of Y sas 8.2

Posted in reply to deleted_user
Hi
Actually i want this in Pdf and Rtf in the following format
Page 1 of 10
thank you
Ask a Question
Discussion stats
  • 2 replies
  • 139 views
  • 0 likes
  • 2 in conversation