The SAS Output Delivery System and reporting techniques

Printing figures from RTF-File (no top-left frame)

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 10
Accepted Solution

Printing figures from RTF-File (no top-left frame)

Hello,

 

I having a problem creating figures with ODS RTF since SAS 9.4. I used the following code to create a RTF-File.

 

ODS RTF style=styles.rtf; 

proc sgplot data=sashelp.enso noautolegend;
   title 'Atmospheric Pressure Differences between '
         'Easter Island and Darwin, Australia';
   pbspline y=pressure x=year;
run;

ods rtf close;

If I call this document, I have the following problems:

1. When zooming, the upper and left frames disappear (even without zoom, these upper and left frames look thinner)

2. When printing the RTF document, the top and left frames are missing. See also attached PDF (using print option in Word)

 

This problem first occurs under SAS 9.4. When I look at old RTF docs under SAS 9.2, all frames are complete. Could someone help me with this problem? Thanks a lot.


Accepted Solutions
Solution
‎05-24-2018 08:23 AM
Occasional Contributor
Posts: 10

Re: Printing figures from RTF-File (no top-left frame)

Posted in reply to SASUserMD

I found a solution. No idea how it works, but it works:

 

ods graphics / reset imagefmt=png;

View solution in original post


All Replies
Solution
‎05-24-2018 08:23 AM
Occasional Contributor
Posts: 10

Re: Printing figures from RTF-File (no top-left frame)

Posted in reply to SASUserMD

I found a solution. No idea how it works, but it works:

 

ods graphics / reset imagefmt=png;

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 204 views
  • 0 likes
  • 1 in conversation