This is a screenshot of the problematic part of the report with identifying info blocked out. I left the last line of the first page to show how the text of the "Details" column runs off the bottom of the page and the footer is not present. I entered the type of data that would appear in the next row, and in reality these columns are about as wide as I can make them already.
I don't know if anyone actually prints these out but I will check, because changing the papersize could definitely be the solution.
The PROC REPORT code looks like this:
ods rtf author="mega"
file="&user.\Statistics\Safety Listings\AE_Listing_&extdt..rtf" startpage=no style=styles.printer;
proc report data=all
split="|" missing nowindows headline headskip
style(report)={just=center cellspacing=.001in width=100%}
style(lines)=header{background=white font_size=20pt font_face="TimesRoman" font_weight=bold just=left}
style(header)=header{background=white font_face="TimesRoman" font_weight=bold just=center font_size=8pt}
style(column)=header{background=white font_size=8pt font_face="TimesRoman" font_weight=medium};
column
("AE Safety Listing" Subject_Number Occurence sdate EndDate AE_3 SAE Severity
Outcome Relationship Intervention AE_25);
define Subject_Number / display "Subj #" style(column)={protectspecialchars = off just=center width=0.3in};
define Occurence / display "AE #" style(column)={protectspecialchars = off just=center width=0.3in};
define sdate / display "AE Start Date | (Day of Treatment)" style(column)={protectspecialchars = off just=center width=0.75in};
define EndDate / display "Stop Date (Duration)" style(column)={protectspecialchars = off just=center width=0.85in};
define AE_3 / display "Site Reported AE Term" style(column)={protectspecialchars = off just=center width=1.3in};
define SAE / display "SAE" style(column)={protectspecialchars = off just=center width=.5in};
define Severity / display "Severity" style(column)={protectspecialchars = off just=center width=0.55in};
define Outcome / display "Outcome" style(column)={protectspecialchars = off just=center width=1in};
define Relationship / display "Relationship" style(column)={protectspecialchars = off just=center width=.9in};
define Intervention / display "Intervention" style(column)={protectspecialchars = off just=center width=.9in};
define AE_25 / display "Details" style(column)={protectspecialchars = off just=center width=2.15in};
*compute after / style=header{background=white font_size=8pt font_face="TimesRoman" font_weight=medium just=l};
* line "";
*endcomp;
run;
quit;
ods rtf close;
... View more