|
-define lstr / style=[asis=yes]; now what happens to your line
- in which height is your font defined because 192 positions for a line
is high and more your have margins...
try first without a template or based later upon the pdf template not the
printer template
but remember style must go into your report code...
-does split really not work ?
find solutions for your output progressively:not all the problems together!
HTH
Andre
At 13:32 05/01/2003 +0000, you wrote:
>Dear all,
>
>I am experiencing output trouble with ODS PRINTER PDF and PROC REPORT. In
>output window the output is perfect but it is not in the pdf. All the
>previous blank spaces of vaules of variable are cut off in the pdf file.
>e.g. variable lstr has value ' title xxxxx', in output window,
>variable lstr display ' title xxxxx', but in the pdf file it
>display 'title xxxxx', all the previous blank spaces are cut off. I don't
>why. Could someone help me here? Any suggestions are warmly welcome.
>
>By the way, it seems that PS LS options in PROC REPORT have no effect on pdf
>file too and page break neither.
>
>Helen
>
>options orientation=landscape papersize='ISO A4' DUPLEX NOCOLORPRINTING
> LEFTMARGIN=0.25 RIGHTMARGIN=0.25 TOPMARGIN=0.25 BOTTOMMARGIN=0.25
> linesize=192 pagesize=55
> ;
>%MACRO printerpdf;
>PROC TEMPLATE;
> DEFINE Style styles.pdflisting;
> parent = styles.Printer;
> replace fonts /
> 'TitleFont2' = ("SAS Monospace, Courier New, Courier",7pt)
> 'TitleFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'StrongFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'EmphasisFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'FixedEmphasisFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'FixedStrongFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'FixedHeadingFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'BatchFixedFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'FixedFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'headingEmphasisFont' = ("SAS Monospace, Courier New, Courier",7pt)
> 'headingFont' = ("SAS Monospace, Courier New, Courier",7pt)
>
> 'docFont' = ("SAS Monospace, Courier New, Courier",7pt);
> style header from header /
> background=white;
> style rowhead from header /
> background=white;
> style table/
> asis=on
> OUTPUTWIDTH=100%
> cellspacing=0pt
> borderwidth=0pt
> cellpadding=0pt
> rules=none
> frame=void
> protectspecialchars=off;/*seems no effect on pdf instead of
>html??*/
>
> END;
>RUN;
>%MEND;
>%printerpdf
>
>ods pdf file='c:\temp\temp.pdf' style=styles.pdflisting;
>*ods html file='c:\temp\temp.htm';
>proc report data=junk nowd ls=192 ps=55 noheader
> ;/*seems ls,ps and page break no effect on pdf file??*/
> column lstr;
> define lstr/display ; /*previous spaces of lstr are cut off in pdf
>file??*/
>run;
>*ods html close;
>ods pdf close;
>ods listing;
___________
WIELKI Andre
INED - Service Informatique
133 Bd Davout,
75 980 Paris Cedex 20
FRANCE
Tel: 01 56 06 21 54
|