<?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: pre image in proc report in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35195#M8666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would manipulate the image before you use it in your report.&amp;nbsp; Reason being is that image compression and re-sizing is something outside the scope of a non-art package.&amp;nbsp; Save you image, then use some imaging program to shrink it down to a size you want, setting your own compression factors.&amp;nbsp; There are free art packages out there to do such things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2014 15:22:22 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-11-14T15:22:22Z</dc:date>
    <item>
      <title>pre image in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35189#M8660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it posiible to use a html page in&lt;STRONG&gt; proc report pre image&lt;/STRONG&gt; option???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you suggest any one plz???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2012 17:52:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35189#M8660</guid>
      <dc:creator>kuridisanjeev</dc:creator>
      <dc:date>2012-01-21T17:52:14Z</dc:date>
    </item>
    <item>
      <title>pre image in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35190#M8661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand what you are trying to do.&amp;nbsp; You could always do a print screen on an html page, save it as a gif or jpg file, and then include that file as a preimage.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2012 22:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35190#M8661</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-01-21T22:59:22Z</dc:date>
    </item>
    <item>
      <title>pre image in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35191#M8662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; The doc for PREIMAGE says that the style attribute points to the location of the image to be used. The location can be a simple filename and file extension; it can be a fully qualified directory path and file information; or it can be the URL of an image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; For example, in the code below, I use the URL location of the&amp;nbsp; SAS Power To Know image for my PREIMAGE attribute. Note that the URL is not a URL to an HTML page. It is the server location of the image that is used when folks visit &lt;A href="http://www.sas.com" target="_blank"&gt;www.sas.com&lt;/A&gt; -- but there is a caveat. If you run this code on a machine that does not have network access, you will not see an image when the HTML file (created by ODS) loads into the browser. Art's suggestion, that you take a screenshot or print screen and then make your own gif or jpg file does not require that you know the URL -- only that you have a local copy of the image you want to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The PREIMAGE attribute is building an HTML standard IMG tag -- I do not believe you can use an HTML page as the SRC= value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;ods html file='c:\temp\usepreimage_url.html' style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;proc&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; report data=sashelp.class(obs=3) nowd&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(report)= &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {preimage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sas.com/images/logos/SAS_TPTK_logo.gif"&gt;http://www.sas.com/images/logos/SAS_TPTK_logo.gif&lt;/A&gt;&lt;SPAN&gt;"};&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;title 'Use URL for PREIMAGE';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;ods html close;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2012 02:47:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35191#M8662</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-01-22T02:47:50Z</dc:date>
    </item>
    <item>
      <title>pre image in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35192#M8663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What i am trying do is I have four html pages which have linkings to some more htmls pages...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to print that four html pages horizontally in the report by using ODS REGION..&lt;/P&gt;&lt;P&gt;if i convert that HTML files into GIF or JGP format, links not going to work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you understand art297....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2012 02:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35192#M8663</guid>
      <dc:creator>kuridisanjeev</dc:creator>
      <dc:date>2012-01-22T02:53:37Z</dc:date>
    </item>
    <item>
      <title>pre image in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35193#M8664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm having a hard time figuring out what made you ask about PREIMAGE orginally. PREIMAGE would be wrong if you want to set a URL to another page. If I want to make a URL to another page or web site, I can do something such as what is shown in the program below. The URLs are the high level URL for each web site, except for the Blog category, which is a URL to one specific blog post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So, just to clarify. The program below creates 4 URLs in a report and then when someone clicks on a hyperlink, they will go to the desired place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In every URLVAR cell on my report, I show a URL of the site they are going to visit. What would you expect to see in every cell on the report???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt; stuff_to_visit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;length cat $8 urlvar $200;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;cat='Game';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&lt;SPAN&gt;urlvar ='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.websudoku.com/';"&gt;http://www.websudoku.com/';&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;output;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;cat='Blog';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&lt;SPAN&gt;urlvar='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://blogs.sas.com/content/sasdummy/2012/01/11/uncovering-the-hidden-parts-of-the-sas-log/';"&gt;http://blogs.sas.com/content/sasdummy/2012/01/11/uncovering-the-hidden-parts-of-the-sas-log/';&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;output;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;cat = 'Search';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&lt;SPAN&gt;urlvar = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.google.com';"&gt;http://www.google.com';&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;output;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;cat='Search';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&lt;SPAN&gt;urlvar='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.altavista.com';"&gt;http://www.altavista.com';&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;output;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;ods listing close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;title;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;ods html file='c:\temp\useurl.html' style=sasweb;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;proc&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt; report data=stuff_to_visitnowd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp; columncat urlvar;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp; definecat / order;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp; defineurlvar / order order=data;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp; computeafter cat;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp; line ' ';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp; endcomp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp; computeurlvar;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp; call define(_col_,'url',urlvar);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp; endcomp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: white; font-family: 'Courier New'; font-size: 11pt;"&gt;ods _all_ close;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2012 05:49:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35193#M8664</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-01-22T05:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: pre image in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35194#M8665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Dear Cynthia,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffff;"&gt;I used the proc report you proposed on Jan 21, 2012 9:47 PM, with ods rtf. However, the image is too wide for the page. Is there an option to specificy the size/width/heigth of the image?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffff;"&gt;JF&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 15:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35194#M8665</guid>
      <dc:creator>noisette1325</dc:creator>
      <dc:date>2014-11-14T15:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: pre image in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35195#M8666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would manipulate the image before you use it in your report.&amp;nbsp; Reason being is that image compression and re-sizing is something outside the scope of a non-art package.&amp;nbsp; Save you image, then use some imaging program to shrink it down to a size you want, setting your own compression factors.&amp;nbsp; There are free art packages out there to do such things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 15:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/pre-image-in-proc-report/m-p/35195#M8666</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-14T15:22:22Z</dc:date>
    </item>
  </channel>
</rss>

