|
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.
> >
> >
> >
> >
|