BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
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
deleted_user
Not applicable
Hi
Actually i want this in Pdf and Rtf in the following format
Page 1 of 10
thank you

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 628 views
  • 0 likes
  • 2 in conversation