<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS ods pdf - no image in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64228#M7502</link>
    <description>Hi:&lt;BR /&gt;
  I believe you are experiencing this issue:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/34/573.html" target="_blank"&gt;http://support.sas.com/kb/34/573.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  Which is an interaction between the use of the {lastpage} ESCAPECHAR function with an image. I believe the only workaround is to remove the use of {lastpage} from the code.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Wed, 19 Jan 2011 16:05:23 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2011-01-19T16:05:23Z</dc:date>
    <item>
      <title>SAS ods pdf - no image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64227#M7501</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am creating a sas ods pdf with proc report. Below is the code for the same. I am unable to get the logo in the file. I have tried doing the research on forum but i could not find any.&lt;BR /&gt;
&lt;BR /&gt;
The error message i get is "Unabe to load image. default image will be loaded instead". I just need to display company logo on top left.&lt;BR /&gt;
Please someone help.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods pdf file  = "/data27/xcelqm_N/Aex2012_&amp;amp;mkt._&amp;amp;spc._&amp;amp;ru._&amp;amp;msr_grp_name._0110.pdf" notoc dpi=150 ;&lt;BR /&gt;
options nodate  leftmargin = 0.75in nocenter ;&lt;BR /&gt;
ods escapechar = "^";&lt;BR /&gt;
title1    h=8pt  f= century j=r bold italic "Confidential";&lt;BR /&gt;
title2    j=l   "^S={preimage = '/data27/xcelqm_N/Logo.jpg' }";&lt;BR /&gt;
title3    h=16pt f = arial j=c bold italic "Aexcel - %sysfunc(propcase(&amp;amp;measure_name))";&lt;BR /&gt;
title4    j = l "_________________________________________________________________________________________________________";&lt;BR /&gt;
title5  "  ";&lt;BR /&gt;
title6    h=8pt f= arial  j=l bold italic "Provider:                                                                                                           Market:       Speciality:                                            Observed:          Expected: ";&lt;BR /&gt;
title7    h=10pt f= arial  j=l bold italic "&amp;amp;space1.&amp;amp;space2.&amp;amp;space3.   &amp;amp;space4.                &amp;amp;Expected_value.";&lt;BR /&gt;
title8    j = l "_________________________________________________________________________________________________________";&lt;BR /&gt;
footnote1    j = l "_________________________________________________________________________________________________________ ";&lt;BR /&gt;
footnote2 h=8pt  f= arial  j=c bold italic "Please refer to the letter accompanying this report for your Aexcel disignation status";&lt;BR /&gt;
footnote3 h=8pt  f=Arial   j=r italic " Report Date: %sysfunc(today(),mmddyy10.)"&lt;BR /&gt;
                           j=c italic "Page ^{thispage} of Page ^{lastpage}";&lt;BR /&gt;
proc report data = detail3_adv headline headskip nowindows&lt;BR /&gt;
 &lt;BR /&gt;
                  style(report)=[bordercolor = black background=_undef_ rules=rows frame = void]&lt;BR /&gt;
                  style(header)=[just =left font_face = century font_weight = Bold font_size = 8pt font_style = italic background = white]&lt;BR /&gt;
                  style(column)=[just =left font_face = arial font_style = Italic font_size = 8pt]&lt;BR /&gt;
                  ls =200;&lt;BR /&gt;
;&lt;BR /&gt;
column measure_id_key&lt;BR /&gt;
       rollup_id&lt;BR /&gt;
       market&lt;BR /&gt;
       spec_category_cd&lt;BR /&gt;
       agg_nm&lt;BR /&gt;
       src_member_id name admit_dt Managing_provider drg_desc Facility_name  numerator_dx                      ; &lt;BR /&gt;
define src_member_id         / group   width=4           'Member Id'                                           ; &lt;BR /&gt;
define name                  / display style = [cellwidth=40mm] spacing=6 'Patient'                            ;&lt;BR /&gt;
define admit_dt              / display width=4 spacing=2 'Admit Date'          format = mmddyy10.              ;&lt;BR /&gt;
define managing_provider     / display width=4 spacing=2 'Managing Provider'                                   ;&lt;BR /&gt;
define drg_desc              / display                   'DRG'                                                 ;&lt;BR /&gt;
define Facility_name         / display width=4 spacing=2 'Facility'                                            ;&lt;BR /&gt;
define numerator_dx          / display style = [cellwidth=40mm] spacing=2 'Numerator ICD9'                                      ;&lt;BR /&gt;
define agg_nm                / group noprint                                                                   ;&lt;BR /&gt;
define measure_id_key        / group noprint                                                                   ;&lt;BR /&gt;
define rollup_id             / group noprint                                                                   ;&lt;BR /&gt;
define market                / group noprint                                                                   ;&lt;BR /&gt;
define spec_category_cd      / group noprint                                                                   ;&lt;BR /&gt;
 &lt;BR /&gt;
run;&lt;BR /&gt;
 &lt;BR /&gt;
ods pdf close;</description>
      <pubDate>Wed, 19 Jan 2011 15:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64227#M7501</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-01-19T15:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ods pdf - no image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64228#M7502</link>
      <description>Hi:&lt;BR /&gt;
  I believe you are experiencing this issue:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/34/573.html" target="_blank"&gt;http://support.sas.com/kb/34/573.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  Which is an interaction between the use of the {lastpage} ESCAPECHAR function with an image. I believe the only workaround is to remove the use of {lastpage} from the code.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 19 Jan 2011 16:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64228#M7502</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-19T16:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ods pdf - no image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64229#M7503</link>
      <description>Thanks Cynthia. Thats exactly what i also noticed. When i removed this piece i can see the logo. But then i am losing out on page no part. I want to display "Page x of page y" at the bottom as second footer. I found couple of macros but that dint work out in pdf. Do you know of any technique?&lt;BR /&gt;
&lt;BR /&gt;
Thansk again !!!</description>
      <pubDate>Mon, 24 Jan 2011 06:15:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64229#M7503</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-01-24T06:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ods pdf - no image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64230#M7504</link>
      <description>Hi:&lt;BR /&gt;
  The only way that I can think of would be to use ODS LAYOUT (which is still pre-production) in SAS 9.2 -- however, I don't know whether ODS LAYOUT and ODS ESCAPECHAR will work as expected while the facility is pre-production. You may want to open a  track with Tech Support to find out for sure.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 24 Jan 2011 16:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64230#M7504</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-24T16:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ods pdf - no image</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64231#M7505</link>
      <description>Hi.&lt;BR /&gt;
A workaround way is to use ODS RTF,then transform it to pdf.</description>
      <pubDate>Wed, 26 Jan 2011 08:17:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ods-pdf-no-image/m-p/64231#M7505</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-01-26T08:17:09Z</dc:date>
    </item>
  </channel>
</rss>

