Date: Tue, 13 Mar 2001 11:25:27 -0500
Reply-To: Droogendyk Bill <bill_droogendyk@DOFASCO.CA>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Droogendyk Bill <bill_droogendyk@DOFASCO.CA>
Subject: Re: SAS output to pdf file
statement below should work in v8
options sysprint= 'Acrobat PDFWriter'
'f:\qsrptsys\RawReportFiles\liabmnth';*results in liabmnth.pdf;
filename pdf printer;
proc printto print=pdf new; 8append to append????;
this normally eliminates the save as box too, but it may still show
sometimes. Adobe has a patch for that.
Dofasco Inc. Hamilton ON Canada
Telephone: 905 548 7200 x3359
Fax: 905 548 4007
SAS: Anything else is just a toy!
> -----Original Message-----
> From: Ephraim I. Schechter [SMTP:eischech@UNITY.NCSU.EDU]
> Sent: Tuesday, 13 March, 2001 09:19
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: SAS output to pdf file
> In SAS v8 (WindowsNT), I want to send SAS output to a .pdf file. One way
> is to use the Output window in the normal way and "print" to the .pdf file
> by selecting "Acrobat PDFWriter" as the printer. Setting
> options sysprint="Acrobat PDFWriter";
> filename printit printer ;
> makes it a bit simpler by preselecting the PDFWriter.
> (1) Is there a way to have SAS bypass Acrobat's "Save As" dialog, so I
> don't have to hand-enter the name of the .pdf file? Adding
> altdest=filespec to the filename statement doesn't do it -- PDFWriter
> still gives me the dialog window.
> (2) Is there a way to automatically APPEND to an existing .pdf file? The
> output will actually be the result of a macro loop that processes
> different sets of data. Going directly to the Output window simply adds
> the results each time 'round the loop. If I set sysprint="Acrobat
> PDFWriter" though, Acrobat's "Save As" dialog come up each time the macro
> is invoked. How can I tell Acrobat to append the new "print" to the old
> file without using the dialog?
> Thanks in advance --
> Ephraim Schechter
> University Planning & Analysis
> North Carolina State University