LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2002, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 1 Aug 2002 12:05:31 -0400
Reply-To:     "Delaney, Kevin P." <khd8@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Delaney, Kevin P." <khd8@CDC.GOV>
Subject:      Re: page number in PDF
Comments: To: Andre Wielki <wielki@INED.FR>
Content-Type: text/plain; charset="iso-8859-1"

Well, I tried to answer your challenge using ODS PDF and gave up, but as usual (and after your reminder that links don't work in straight PDF) the ODS PRINTER section of the SAS website proved just helpful enough...

So if you have Acrobat Distiller to make your PDF's from raw postscript, this works the way we all hoped it would...

ods ps pdfmark file="C:\Temp\flip1.ps" style=mystyle; ods ps anchor="idx"; proc report data=sasuser.admitjune nowd split="--"; columns name; define name/group style(header)=[url="flip.pdf"] "All Names -- Click here to return to Main file "; Title "First Page" ] ; run; ods ps pdfmark file="C:\temp\flip2.ps" style=mystyle; ods ps anchor="pdx"; proc report data=sasuser.admitjune nowd split="--"; columns weight; define weight/group style(header)=[url="flip.pdf"] "All Weights -- Click here to return to Main file "; title "Second Page" ; run; ods ps close; ods ps pdfmark file="C:\temp\flip.ps"; proc report data=sasuser.admit(obs=10) nowd; TITLE " "; columns name weight; define name /group style (HEADER)={url='flip1.pdf#idx1'} "First page" ; define weight /group style(HEADER)={url='flip2.pdf#pdx1'} "2nd Page"; run; ods ps close;

options noxwait noxsync; X "C:\temp\flip.ps"; X "C:\temp\flip1.ps"; X "C:\temp\flip2.ps";

*Leaves Distiller open, someone remind me how I can tell Windoze to close it??;

-----Original Message----- From: Andre Wielki [mailto:wielki@INED.FR] Sent: Thursday, August 01, 2002 10:09 AM Subject: Re: page number in PDF

Nobody answer to the challenge of yesterday. In my corner, i did not make any progress upon this misfunctioning of {url='flip2.pdf#idx2'}... by clicking on the second column, i open the flip2.pdf well but on the beginning not on the anchor idx2.

Inside the flip.pdf file there is a GOTO (flip2.pdf) only perhaps because (flip2.pdf#idx2) is not authorized in pdf internal code this is perhaps the reason of the comments of sas ods support upon pdfmark in ods pdf creation? ======= There are still some problems with the v8.2 PDF, primarily concerning links. The following are problematic:

internal URLs; for example, url="#dest5". These are just plain broken in v8.2 ODS PDF and ODS PRINTER PDF. The workaround is to use the PDFMARK command instead. ... ========from the faq ods printer. HTH Andre

ods pdf close; ods pdf file="d:\ods\flip2.pdf"; proc print data=sasuser.fitness(obs=1);run; ods pdf anchor="idx2"; proc print data=sasuser.fitness(obs=2);run; ods pdf close; ods pdf file="d:\ods\flip.pdf"; proc report data=sashelp.class nowd; columns name weight; define name /group style (HEADER)={url='flip1.pdf#idx2'} "First page" ; define weight /group style(HEADER)={url='flip2.pdf#idx2'} "Six Page"; run; ods pdf close;; ;

At 13:37 30/07/2002 -0700, sean fine wrote:

>Hi, > >I have created a hyperlink in one PDF by using SAS, and this hyperlink >need to link to one specific page number in the thumbnail of another >existing PDF file(created by SAS or not, doesn't matter). But the link I >created always go the first page. ie. Linking to the page number =1 in >thumbnail of the exsiting PDF file. Is anyone there had the same problem >before? Do you know how to resolve it? In another word, do you know how to >create a link in a PDF file by using SAS, which will link to a specific >page in another PDF file. I will send you the program and log if you >response this email. > > > > > >Do You Yahoo!? ><http://health.yahoo.com/>Yahoo! Health - Feel better, live better

___________ WIELKI Andre INED - Service Informatique 133 Bd Davout, 75 980 Paris Cedex 20 FRANCE Tel: 01 56 06 21 54


Back to: Top of message | Previous page | Main SAS-L page