<?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: ODS PDF PROC PRINT ID STATEMENT in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43911#M5826</link>
    <description>Hi:&lt;BR /&gt;
  To fix X and Y, add style overrides to the ID statement, as shown below. I'm not sure you really need the &amp;lt;ttf&amp;gt; in the style override. My example worked without it.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
data xxx;&lt;BR /&gt;
  set sashelp.prdsale;&lt;BR /&gt;
  where division = 'CONSUMER' and&lt;BR /&gt;
        product = 'CHAIR';&lt;BR /&gt;
  x = country;&lt;BR /&gt;
  y=region;&lt;BR /&gt;
  a=division;&lt;BR /&gt;
  b=prodtype;&lt;BR /&gt;
  c=product;&lt;BR /&gt;
  d=actual;&lt;BR /&gt;
  e=predict;&lt;BR /&gt;
  f=actual * predict / 100;&lt;BR /&gt;
run;&lt;BR /&gt;
                   &lt;BR /&gt;
proc sort data=xxx;&lt;BR /&gt;
by x y;&lt;BR /&gt;
run;&lt;BR /&gt;
            &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods pdf file='c:\temp\cent_goth.pdf' notoc uniform;&lt;BR /&gt;
TITLE1 j=l font="Century Gothic" "Wombat";&lt;BR /&gt;
TITLE2 j=l font="Century Gothic" "Koala";&lt;BR /&gt;
TITLE3 j=l font="Century Gothic" "Eucalyptus DETAIL";&lt;BR /&gt;
TITLE4 j=l font="Century Gothic" "And other stuff";&lt;BR /&gt;
  PROC PRINT DATA=xxx N NOOBS SPLIT='*'&lt;BR /&gt;
             style(HEADER)={font_face='Century Gothic'}&lt;BR /&gt;
             style(COLUMN)={font_face='Century Gothic'}&lt;BR /&gt;
             style(data)={font_face='Century Gothic'}&lt;BR /&gt;
;&lt;BR /&gt;
  BY x y;&lt;BR /&gt;
  ID x y / style(header)={font_face='Century Gothic'}&lt;BR /&gt;
           style(data)={font_face='Century Gothic'};&lt;BR /&gt;
  SUMBY y;&lt;BR /&gt;
  PAGEBY x;&lt;BR /&gt;
  VAR a b c d e f;&lt;BR /&gt;
Run;&lt;BR /&gt;
ods pdf close; &lt;BR /&gt;
[/pre]</description>
    <pubDate>Thu, 21 Jan 2010 00:28:41 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-01-21T00:28:41Z</dc:date>
    <item>
      <title>ODS PDF PROC PRINT ID STATEMENT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43910#M5825</link>
      <description>I apologize if this question/answer has been posted before.  I tried to do a search of this Forum and could not find a similar question/answer.&lt;BR /&gt;
&lt;BR /&gt;
I have a very old PROC PRINT report that I’m branding, hopefully without a template change.   I’ve tried the code following my signature, but with no luck.  The Century Gothic font is applied to the title, header, and columns (a b c d e f).  x &amp;amp; y retain the default template font.  &lt;BR /&gt;
&lt;BR /&gt;
Is there a quick way to fix x &amp;amp; y? I recognize that I could rewrite it in PROC REPORT and get my desired output, without a template change.&lt;BR /&gt;
&lt;BR /&gt;
TIA,&lt;BR /&gt;
Kim LeBouton&lt;BR /&gt;
&lt;BR /&gt;
ods pdf file=’&lt;FILENAME&gt;.pdf’ notoc uniform;&lt;BR /&gt;
TITLE1 j=l font="Century Gothic" "&amp;amp;TITLe1";&lt;BR /&gt;
TITLE2 j=l font="Century Gothic" "&amp;amp;TITLe2";&lt;BR /&gt;
TITLE3 j=l font="Century Gothic" "&amp;amp;TITLe3. DETAIL";&lt;BR /&gt;
TITLE4 j=l font="Century Gothic" "&amp;amp;TITL4";&lt;BR /&gt;
PROC PRINT DATA=xxx N NOOBS SPLIT='*'&lt;BR /&gt;
        style(HEADER)={font_face='&lt;TTF&gt; Century Gothic'}&lt;BR /&gt;
        style(COLUMN)={font_face='&lt;TTF&gt; Century Gothic'}&lt;BR /&gt;
        style(data)={font_face='&lt;TTF&gt; Century Gothic'}&lt;BR /&gt;
					;&lt;BR /&gt;
   BY x y;&lt;BR /&gt;
   ID x y;&lt;BR /&gt;
   SUMBY y;&lt;BR /&gt;
   PAGEBY x;&lt;BR /&gt;
   VAR a b c d e f;&lt;BR /&gt;
Run;&lt;BR /&gt;
ods pdf close;&lt;/TTF&gt;&lt;/TTF&gt;&lt;/TTF&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Wed, 20 Jan 2010 23:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43910#M5825</guid>
      <dc:creator>KimLeBouton</dc:creator>
      <dc:date>2010-01-20T23:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF PROC PRINT ID STATEMENT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43911#M5826</link>
      <description>Hi:&lt;BR /&gt;
  To fix X and Y, add style overrides to the ID statement, as shown below. I'm not sure you really need the &amp;lt;ttf&amp;gt; in the style override. My example worked without it.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
data xxx;&lt;BR /&gt;
  set sashelp.prdsale;&lt;BR /&gt;
  where division = 'CONSUMER' and&lt;BR /&gt;
        product = 'CHAIR';&lt;BR /&gt;
  x = country;&lt;BR /&gt;
  y=region;&lt;BR /&gt;
  a=division;&lt;BR /&gt;
  b=prodtype;&lt;BR /&gt;
  c=product;&lt;BR /&gt;
  d=actual;&lt;BR /&gt;
  e=predict;&lt;BR /&gt;
  f=actual * predict / 100;&lt;BR /&gt;
run;&lt;BR /&gt;
                   &lt;BR /&gt;
proc sort data=xxx;&lt;BR /&gt;
by x y;&lt;BR /&gt;
run;&lt;BR /&gt;
            &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods pdf file='c:\temp\cent_goth.pdf' notoc uniform;&lt;BR /&gt;
TITLE1 j=l font="Century Gothic" "Wombat";&lt;BR /&gt;
TITLE2 j=l font="Century Gothic" "Koala";&lt;BR /&gt;
TITLE3 j=l font="Century Gothic" "Eucalyptus DETAIL";&lt;BR /&gt;
TITLE4 j=l font="Century Gothic" "And other stuff";&lt;BR /&gt;
  PROC PRINT DATA=xxx N NOOBS SPLIT='*'&lt;BR /&gt;
             style(HEADER)={font_face='Century Gothic'}&lt;BR /&gt;
             style(COLUMN)={font_face='Century Gothic'}&lt;BR /&gt;
             style(data)={font_face='Century Gothic'}&lt;BR /&gt;
;&lt;BR /&gt;
  BY x y;&lt;BR /&gt;
  ID x y / style(header)={font_face='Century Gothic'}&lt;BR /&gt;
           style(data)={font_face='Century Gothic'};&lt;BR /&gt;
  SUMBY y;&lt;BR /&gt;
  PAGEBY x;&lt;BR /&gt;
  VAR a b c d e f;&lt;BR /&gt;
Run;&lt;BR /&gt;
ods pdf close; &lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 21 Jan 2010 00:28:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43911#M5826</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-01-21T00:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF PROC PRINT ID STATEMENT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43912#M5827</link>
      <description>Perfect--as usual.&lt;BR /&gt;
&lt;BR /&gt;
Thanks so much,&lt;BR /&gt;
Kim</description>
      <pubDate>Thu, 21 Jan 2010 21:38:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43912#M5827</guid>
      <dc:creator>KimLeBouton</dc:creator>
      <dc:date>2010-01-21T21:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF PROC PRINT ID STATEMENT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43913#M5828</link>
      <description>Hi !&lt;BR /&gt;
 I'm traying to apply a "style" at the option "BY" from the PROC PRINT.&lt;BR /&gt;
 But no result !&lt;BR /&gt;
&lt;BR /&gt;
 proc print data=EDITION_MOL_MONTANT_NUL label WIDTH=UNIFORMBY                                                                                                                                                                                                          &lt;BR /&gt;
                                     style(table)={frame=box rules=all borderwidth=1 just=left}                                                                                                                                                           &lt;BR /&gt;
                                     style(header)={just=center font_size=7 pt font_weight=Bold}                                                                                                                                              &lt;BR /&gt;
                                     style(data)={just=center font_size=7 pt};                                                                                                                                                                              &lt;BR /&gt;
          by CATEGORIE_LIB;                                                                                                                                                                                                                                         &lt;BR /&gt;
          id IEP;                                                                                                                                                                                                                                          &lt;BR /&gt;
          var PAS_PASTYP MOL_CODE_UCD MOL_DATDEB MOL_UNITE_UCD MOL_MONTANT RESDEB RESFIN / style(data)={just=center font_size=7 pt};&lt;BR /&gt;
          var UM_LIBELLE / style(data)={just=left font_size=7 pt};                                                                                                                                                                                                     &lt;BR /&gt;
          label PAS_PASTYP="Statut" MOL_CODE_UCD="UCD" MOL_UNITE_UCD="Nb unités" MOL_DATDEB="Administrée le" MOL_MONTANT="Montant" RESDEB="Entrée UM" RESFIN="Sortie UM" UM_LIBELLE="UM";             &lt;BR /&gt;
run;</description>
      <pubDate>Tue, 14 Dec 2010 14:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43913#M5828</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-14T14:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF PROC PRINT ID STATEMENT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43914#M5829</link>
      <description>Try the BYLABEL location on a style override option in the PROC PRINT statement.</description>
      <pubDate>Tue, 14 Dec 2010 18:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-PROC-PRINT-ID-STATEMENT/m-p/43914#M5829</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-12-14T18:47:54Z</dc:date>
    </item>
  </channel>
</rss>

