|
I don't know why your file does not have form feeds. Perhaps you
have FORTRAN carriage control. (not likely).
There may be some other way to identify the beginning or end of each
page. Some recurring string that you can search for.
On Feb 12, 2008 11:34 AM, Yu Zhang <zhangyu05@gmail.com> wrote:
> Data_null_,
>
> thank you for your quick reply. I insert the statement put 'find form feed
> here'; into the Do block. it seems like there is no such thing in my .LST
> file. Do you happend to know why?
>
> Thanks!
>
> Yu
>
>
>
> On Feb 12, 2008 10:22 AM, data _null_, <datanull@gmail.com> wrote:
> > If the LST has form feed character look for it and PUT _PAGE_;
> >
> > This produced output in the results viewer that look right to me.
> >
> > data _null_;
> > file print;
> > infile '............lst' length=l;
> > input tstring $varying300. l;
> > if tstring=:'0C'x then do;
> > put _page_ @;
> > tstring = substr(tstring,2);
> > end;
> > put tstring $varying300. l;
> > run;
> >
> >
> >
> >
> > On Feb 12, 2008 11:06 AM, Yu Zhang <zhangyu05@gmail.com> wrote:
> > > Hi,
> > >
> > > Help, please.
> > >
> > > Someone send me a .lst file, which is the saved PROC tabulate output. I
> > > was asking to convert it to a PDF file. I am able to put the tables back
> > > to PDF file. but I can have the same page break as in original .lst
> file.
> > >
> > > Is there any way we can have original page break? Thank you so much!!
> > >
> > > Yu
> > >
> > > here is the code i am using:
> > >
> > > OPTIONS NODATE NONUMBER PAGESIZE = 47 LINESIZE = 154 ;
> > > title1;
> > > options
> > > orientation=landscape;
> > > ods pdf file='test.pdf';
> > >
> > > data _null_;
> > > file print;
> > > infile 'c:\14.1.1.lst' lrecl=133 truncover;
> > > input tstring $133.;
> > > put tstring;
> > > run;
> > > ods pdf close;
> > >
> >
>
>
|