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 (December 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 16 Dec 2008 15:24:46 -0600
Reply-To:   Lei Wang <lwang2002@MSN.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Lei Wang <lwang2002@MSN.COM>
Subject:   Re: filename pipe questions.
Comments:   cc: snoopy369@gmail.com
In-Reply-To:   <b7a7fa630812161309h1a552028w733162067cd471d@mail.gmail.com>
Content-Type:   text/plain; charset="iso-8859-1"

Thanks. I know using ods can producing same result for this example. however, I need the file pipe method to create an customized report, for example, using enscript to filter or highlight some pattern. etc. And, I have already coded the program under unix platform. Now I just want to run them to PC SAS. Lei > Date: Tue, 16 Dec 2008 15:09:05 -0600> From: snoopy369@GMAIL.COM> Subject: Re: filename pipe questions.> To: SAS-L@LISTSERV.UGA.EDU> > Don't know anything about the problem with pipe, but you should be able to> use ODS in windows to accomplish this (if you're trying just to create> postscript files, anyway). ODS destination Printer will generate PS files.> > -Joe> > On Tue, Dec 16, 2008 at 2:51 PM, Lei Wang <lwang2002@msn.com> wrote:> > > Hello,> >> > I have using pipe to redirect sas output and generate ps files. however,> > the same codes got different result> > in Unix and Windows platform. below is an example:> >> > ********************************;> > filename hts pipe 'enscript -c -q -p test.ps';> > proc printto print=hts new;> > run;> > proc print data=sashelp.class;> > run;> > proc printto;> > run;> > ********************************;> >> > In Unix, it generate the correct ps file. but in Windows, the first page of> > the generated ps file is blank and the real output is> > shown on the second page. Does anyone know how to correct it? thanks!> >> > Lei


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