<?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: Search facility on PDF report requires spaces. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66829#M19090</link>
    <description>Hi:&lt;BR /&gt;
  You said that you created a report using PROC  REPORT and then you show a GSASFILE filename statement, such as you would use to create a graphic image from a SAS/Graph procedure (such as PROC GCHART, GPLOT, etc).&lt;BR /&gt;
&lt;BR /&gt;
  So, I'm a bit confused about whether you have a PROC REPORT output file or a SAS/Graph output image that you are using in your report (or both). I'm also not sure why you create a PostScript file (.ps) first and then distill the PS file to PDF. ODS can create a PDF file directly, by using this syntax:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods pdf file='somefile.pdf';&lt;BR /&gt;
** proc report step;&lt;BR /&gt;
  &lt;BR /&gt;
** possible SAS/Graph step;&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                                                      &lt;BR /&gt;
If you are NOT using PROC REPORT and you have a SAS/Graph program that you want to get into  PDF form, then this Tech Support white paper is a great resource: &lt;A href="http://support.sas.com/techsup/technote/ts659/ts659.html" target="_blank"&gt;http://support.sas.com/techsup/technote/ts659/ts659.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
I'm also not sure what you mean by the "search facility on PDF report requires spaces" -- there is this note about performing text searches:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/003.html" target="_blank"&gt;http://support.sas.com/kb/32/003.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
However, you may want to work with SAS Tech Support on this issue, as they can look at ALL your code, not just the filename and goptions statement and help you figure out the best solution.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Mon, 22 Dec 2008 19:02:19 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2008-12-22T19:02:19Z</dc:date>
    <item>
      <title>Search facility on PDF report requires spaces.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66828#M19089</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have created a pdf report by using the proc report procedure and I have used the font as courier(hwpsl001).Please take a look into the following goptions used in this program,&lt;BR /&gt;
&lt;BR /&gt;
%let fontnm=hwpsl001;&lt;BR /&gt;
filename gsasfile "$SASREPORT/&amp;amp;rpttype.&amp;amp;Sysparm..ps";&lt;BR /&gt;
goptions device=psl norotate&lt;BR /&gt;
          hpos=132 vpos=61&lt;BR /&gt;
          ftitle=&amp;amp;fontnm ftext=&amp;amp;fontnm&lt;BR /&gt;
          noprompt&lt;BR /&gt;
          gaccess=gsasfile gsfmode=replace gend='0D0A'X gsflen=80;&lt;BR /&gt;
&lt;BR /&gt;
 After that, I have converted the .ps file to .pdf&lt;BR /&gt;
&lt;BR /&gt;
Problem: Requiring spaces  between charcters in search facility on pdf report.&lt;BR /&gt;
&lt;BR /&gt;
                             I have tried with the font hwpsl005(Arial),the search facility is working fine.But,the report structure is disturbing.&lt;BR /&gt;
&lt;BR /&gt;
Can any one please help me on this issue.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks&amp;amp;Regards,&lt;BR /&gt;
Srinivas.</description>
      <pubDate>Mon, 22 Dec 2008 15:59:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66828#M19089</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-22T15:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Search facility on PDF report requires spaces.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66829#M19090</link>
      <description>Hi:&lt;BR /&gt;
  You said that you created a report using PROC  REPORT and then you show a GSASFILE filename statement, such as you would use to create a graphic image from a SAS/Graph procedure (such as PROC GCHART, GPLOT, etc).&lt;BR /&gt;
&lt;BR /&gt;
  So, I'm a bit confused about whether you have a PROC REPORT output file or a SAS/Graph output image that you are using in your report (or both). I'm also not sure why you create a PostScript file (.ps) first and then distill the PS file to PDF. ODS can create a PDF file directly, by using this syntax:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods pdf file='somefile.pdf';&lt;BR /&gt;
** proc report step;&lt;BR /&gt;
  &lt;BR /&gt;
** possible SAS/Graph step;&lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                                                      &lt;BR /&gt;
If you are NOT using PROC REPORT and you have a SAS/Graph program that you want to get into  PDF form, then this Tech Support white paper is a great resource: &lt;A href="http://support.sas.com/techsup/technote/ts659/ts659.html" target="_blank"&gt;http://support.sas.com/techsup/technote/ts659/ts659.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
I'm also not sure what you mean by the "search facility on PDF report requires spaces" -- there is this note about performing text searches:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/003.html" target="_blank"&gt;http://support.sas.com/kb/32/003.html&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
However, you may want to work with SAS Tech Support on this issue, as they can look at ALL your code, not just the filename and goptions statement and help you figure out the best solution.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 22 Dec 2008 19:02:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66829#M19090</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-12-22T19:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Search facility on PDF report requires spaces.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66830#M19091</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
I am sorry.I posted the wrong information mistakenly. Please find the below program to create .ps file&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
filename gsasfile "$SASOUTPUT/&amp;amp;rpttype.&amp;amp;Sysparm..ps";&lt;BR /&gt;
FileName Rpt1  "$SASTXT/&amp;amp;SysParm..lst";&lt;BR /&gt;
FileName Rpt2  "$SASTXT/&amp;amp;Sysparm.EX.lst";&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
%let fontnm =hwpsl001; /*Courier font used on report*/&lt;BR /&gt;
%let fontnm2=hwpsl005;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
goptions reset=all;&lt;BR /&gt;
 goptions device=psll norotate&lt;BR /&gt;
          hpos=132 vpos=61&lt;BR /&gt;
          ftitle=&amp;amp;fontnm ftext=&amp;amp;fontnm&lt;BR /&gt;
          noprompt&lt;BR /&gt;
          gaccess=gsasfile gsfmode=replace gend='0D0A'X gsflen=80;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc gprint fileref=Rpt1;&lt;BR /&gt;
     title1 h=.5 ' ';&lt;BR /&gt;
run;&lt;BR /&gt;
GOPTIONS gaccess=gsasfile gsfmode=append gend='0D0A'X gsflen=80;&lt;BR /&gt;
&lt;BR /&gt;
proc gprint fileref=Rpt2;&lt;BR /&gt;
     title1 h=.5 ' ';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Once the .ps file has been created then we convert that .ps file to .pdf file by using distiller. &lt;BR /&gt;
&lt;BR /&gt;
The problem in the pdf report is search facility on the pdf report is not working.If we give the spaces between the characters the it's working fine.&lt;BR /&gt;
&lt;BR /&gt;
We thought that it might be a problem with font type and device.So, we  have changed the font to "hwpsl005" then the search problem is not appearing, but the report structure is disturbing.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Could you please help me on this issue.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Srini</description>
      <pubDate>Mon, 05 Jan 2009 13:18:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66830#M19091</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-01-05T13:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search facility on PDF report requires spaces.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66831#M19092</link>
      <description>Hi:&lt;BR /&gt;
  This Tech Support note may be relevant to your issue:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/32/003.html" target="_blank"&gt;http://support.sas.com/kb/32/003.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  Otherwise, I would not normally expect output from any of the SAS/Graph procedures to be searchable, as they create -images-. I'm not sure why you're using GPRINT on your LISTING reports, anyway. When I submit the program in this Tech Support note, my ODS PDF file is searchable and the output looks like LISTING output:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/24/493.html" target="_blank"&gt;http://support.sas.com/kb/24/493.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  The advantage of using ODS directly is that I don't have to create a PS file and then distill the file using Adobe (which I don't have access to on all machines).&lt;BR /&gt;
&lt;BR /&gt;
  If you cannot use ODS directly, then I recommend that you open a track with Tech Support to find out whether anything produced with the SAS/Graph procedures should be searchable.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 05 Jan 2009 14:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-facility-on-PDF-report-requires-spaces/m-p/66831#M19092</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-01-05T14:30:57Z</dc:date>
    </item>
  </channel>
</rss>

