Usage Note 24488: Can I use a relative path to point to an image I want to place in an ODS PDF or ODS RTF file?
When you place an image in an RTF file with PREIMAGE= or POSTIMAGE=, you can specify an absolute or URL reference.
ods rtf file="file.rtf";
proc report nowd data=sashelp.class
style(report)={preimage='directory-or-url\image.jpeg'};
run;
ods _all_ close;
When you place an image in a PRINTER family (PCL, PDF, or PS) file with PREIMAGE= or POSTIMAGE=, prior to SAS 9.2, you must specify an absolute reference.
ods pdf file="file.pdf";
proc report nowd data=sashelp.class
style(report)={preimage='directory\image.jpeg'};
run;
ods _all_ close;
Starting in SAS 9.2, the ODS PRINTER destinations allow a URL reference.
Note: Any URL or absolute reference cannot include parameters that include a login.
See also the full ODS FAQs and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | Third Party ==> Output ==> RTF SAS Reference ==> ODS (Output Delivery System) System Administration ==> Printing Third Party ==> Output ==> PDF
|
Date Modified: | 2012-08-06 10:37:22 |
Date Created: | 2006-01-31 14:31:33 |