Date: Mon, 6 Jan 2003 11:25:33 +0100
Reply-To: WIELKI Andre <wielki@INED.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: WIELKI Andre <wielki@INED.FR>
Subject: Re: How to control line break in ods printer pdf file?
In-Reply-To: <64ae24c.0301031015.5e213420@posting.google.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed
Helen,
are you really creating pdf files?
i think you are creating postscript files even if it could be recognized
by Acrobat(or Ghostscript) and transformed into pdf files
Some remarks about your program
1)depending of your level of sas 8.1 or 8.2 you have other possibilities
ods pdf file='....pdf' style=...; works better in 8.2
ods printer pdf file='.....pdf' pdfmark style=... ; works better in 8.1
2) about your template and macro
The code you generate is definitive when sas is executing your program
but you are trying to have some varying code one for the first page and
another
for the following. it is not permitted
3)proc report does not accept modification of template style table
because like tabulate and print ,those procedure must be modified by style
elements
include in the procedure code.
search in sas l ods & report or ods & tabulate to find many example
or refer to the papers of Sugi like "Proc tabulate: doin'it in style" by
ray Pass
and Sandy McNeill
and the equivalent on "proc report ..." to learn about
Now specifically about your to a new line skip it depend of a split character
I shall study if it really don't work in pdf file.
for the page skip first of all set your options (pagesize=...)before the
opening of the ods pdf destination
HTH
Andre
At 10:15 03/01/2003 -0800, you wrote:
>Dear SAS-L,
>
>I am new to ods and proc template. I output my report (proc report) to
>pdf files. Unfornately, the split option of proc report has no effect
>on my pdf file. What I would like to do is to control line breaks by
>some character (not automatically) in the columns.
>
>Could someone tell me how to do it?
>
>Thanks in advance!
>
>Helen
>
> 21 54