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 (May 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 7 May 2009 17:08:29 -0500
Reply-To:   Mary <mlhoward@AVALON.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Mary <mlhoward@AVALON.NET>
Subject:   Re: Convert SAS source file to PDF
Comments:   To: Lei Wang <lwang2002@MSN.COM>
Content-Type:   text/plain; format=flowed; charset="Windows-1252"; reply-type=original

I wonder if you could read your SAS source file into a data set with one field maybe 150 characters wide, then you could use ODS to PDF around a put or proc print to convert it to a PDF.

-Mary

----- Original Message ----- From: "Lei Wang" <lwang2002@MSN.COM> To: <SAS-L@LISTSERV.UGA.EDU> Sent: Thursday, May 07, 2009 4:44 PM Subject: Re: Convert SAS source file to PDF

Thanks. This method works. But I need convert a lots of SAS files, so it is better to complete this job in batch process.

I have tried a2ps, but it's syntax highlight is not so good as SAS's.

> Date: Thu, 7 May 2009 16:36:43 -0400 > From: ya.huang@AMYLIN.COM > Subject: Re: Convert SAS source file to PDF > To: SAS-L@LISTSERV.UGA.EDU > > Open SAS and MS Word, highlight all source code from SAS enhanced editor, > then copy/paste to Word. From Word, print to PDF printer, which assume you > have Acrobat installed. > > On Thu, 7 May 2009 15:10:45 -0500, Lei Wang <lwang2002@MSN.COM> wrote: > > >Hi, > > > > > > > >Is there any tools can convert SAS source code to PDF with syntax > highlight? Thanks. > > > > > > > >


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