Date: Mon, 21 Apr 2003 11:53:40 -0700
Reply-To: Helen <sunchunkui@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Helen <sunchunkui@HOTMAIL.COM>
Organization: http://groups.google.com/
Subject: What's wrong with the pdf file?
Content-Type: text/plain; charset=ISO-8859-1
Dear sas-l,
I generated some pdf files via ODS PDF in PROC REPORT. There is
alignment problem in some of character strings. e.g.
Do not meet CRF inclusion #1
Do not meet CRF inclusion #2
Do not meet CRF inclusion #3
In first line, there is one more space before "CRF", second one is
correct, the third one has one more space befre "#3". Of course the
codings of these string display are correct. I don't what's wrong with
it? Any comments are appreciated.
The following is the part of report generation:
filename pdfout "&report.app3_2.pdf";
ods pdf file=pdfout;
ods escapechar="^";
proc report data=sasdata.deviations split="@" nowd center missing
style(report)=[font_face=courier
font_size=7 pt background=_undef_
rules=none
cellpadding=0
cellspacing=0
frame=void
borderwidth=0.2pt
ASIS=on]
style(header)=[just=c frame=box rules=rows font_face=courier
font_size=7 pt
background=white];
columns site last_name id devi note;
define site/order 'Site@----' format=3. width=4
style={cellwidth=1 cm just=c};
define last_name/order 'Investigator@------------' width=12
style={cellwidth=2 cm just=l};
define id/order 'Subject ID@----------' width=7
style={cellwidth=2 cm just=c};
define devi/'Protocol Deviation@------------------'
style={cellwidth=8 cm just=l};
define note/'Comment@-------'
style={cellwidth=12 cm just=l};
compute after id;
line " ";
endcomp;
run;
ods pdf close;