<?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: Paper size and EXCELXP in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Paper-size-and-EXCELXP/m-p/5717#M2303</link>
    <description>Thanks Cynthia. Your comment seems to prove this is all normal stuff : stick to the Printer family if you want something ready-to-print, and otherwise prepare yourself to include a little extra work on your file if you want it to be printed in a special way.&lt;BR /&gt;
&lt;BR /&gt;
I found out on a forum (http://www.tek-tips.com/viewthread.cfm?qid=1178234&amp;amp;page=1) some information about values of the PaperSizeIndex tag : value 1 (as written by ODS TAGSETS.EXCELXP) stands for LETTER, whereas 9 is for A4.&lt;BR /&gt;
The complete list of values is[pre]&lt;BR /&gt;
Paper Size Table                                    &lt;BR /&gt;
 Index    Paper type               Paper size        &lt;BR /&gt;
 ----------------------------------------------------&lt;BR /&gt;
 0        Undefined                                  &lt;BR /&gt;
 1        Letter                   8 1/2" x 11"      &lt;BR /&gt;
 2        Letter small             8 1/2" x 11"      &lt;BR /&gt;
 3        Tabloid                     11" x 17"      &lt;BR /&gt;
 4        Ledger                      17" x 11"      &lt;BR /&gt;
 5        Legal                    8 1/2" x 14"      &lt;BR /&gt;
 6        Statement                5 1/2" x 8 1/2"   &lt;BR /&gt;
 7        Executive                7 1/4" x 10 1/2"  &lt;BR /&gt;
 8        A3                        297mm x 420mm    &lt;BR /&gt;
 9        A4                        210mm x 297mm    &lt;BR /&gt;
 10       A4 small                  210mm x 297mm    &lt;BR /&gt;
 11       A5                        148mm x 210mm    &lt;BR /&gt;
 12       B4                        250mm x 354mm    &lt;BR /&gt;
 13       B5                        182mm x 257mm    &lt;BR /&gt;
 14       Folio                    8 1/2" x 13"      &lt;BR /&gt;
 15       Quarto                    215mm x 275mm    &lt;BR /&gt;
 16                                   10" x 14"      &lt;BR /&gt;
 17                                   11" x 17"      &lt;BR /&gt;
 18       Note                     8 1/2" x 11"      &lt;BR /&gt;
 19       #9 Envelope              3 7/8" x 8 7/8"   &lt;BR /&gt;
 20       #10 Envelope             4 1/8" x 9 1/2"   &lt;BR /&gt;
 21       #11 Envelope             4 1/2" x 10 3/8"  &lt;BR /&gt;
 22       #12 Envelope             4 3/4" x 11"      &lt;BR /&gt;
 23       #14 Envelope                 5" x 11 1/2"  &lt;BR /&gt;
 24       C Sheet                     17" x 22"      &lt;BR /&gt;
 25       D Sheet                     22" x 34"      &lt;BR /&gt;
 26       E Sheet                     34" x 44"      &lt;BR /&gt;
 27       DL Envelope               110mm x 220mm    &lt;BR /&gt;
 28       C5 Envelope               162mm x 229mm    &lt;BR /&gt;
 29       C3 Envelope               324mm x 458mm    &lt;BR /&gt;
 30       C4 Envelope               229mm x 324mm    &lt;BR /&gt;
 31       C6 Envelope               114mm x 162mm    &lt;BR /&gt;
 32       C65 Envelope              114mm x 229mm    &lt;BR /&gt;
 33       B4 Envelope               250mm x 353mm    &lt;BR /&gt;
 34       B5 Envelope               176mm x 250mm    &lt;BR /&gt;
 35       B6 Envelope               125mm x 176mm    &lt;BR /&gt;
 36       Italy Envelope            110mm x 230mm    &lt;BR /&gt;
 37       Monarch Envelope         3 7/8" x 7 1/2"   &lt;BR /&gt;
 38       6 3/4 Envelope           3 5/8" x 6 1/2"   &lt;BR /&gt;
 39       US Standard Fanfold     14 7/8" x 11"      &lt;BR /&gt;
 40       German Std. Fanfold      8 1/2" x 12"      &lt;BR /&gt;
 41       German Legal Fanfold     8 1/2" x 13"      &lt;BR /&gt;
[/pre]&lt;BR /&gt;
So I guess I must modify my Tagset by using Proc Template, adding some kind of option or other.&lt;BR /&gt;
&lt;BR /&gt;
PS : downloading the latest set of tagsets, the PAPERSIZE option is now taken into account. My dear thanks to all the ODS people who thought about it.</description>
    <pubDate>Tue, 27 Nov 2007 21:16:56 GMT</pubDate>
    <dc:creator>Olivier</dc:creator>
    <dc:date>2007-11-27T21:16:56Z</dc:date>
    <item>
      <title>Paper size and EXCELXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Paper-size-and-EXCELXP/m-p/5715#M2301</link>
      <description>Hi all.&lt;BR /&gt;
I'm puzzled. The system option PAPERSIZE does not seem to be taken into account in the TAGSETS.EXCELXP destination. I looked for a similar option to add to the opening ODS statement, but did not found any.&lt;BR /&gt;
When I submit this code [pre]&lt;BR /&gt;
OPTION PAPERSIZE=A4 ;&lt;BR /&gt;
ODS TAGSETS.EXCELXP FILE="c:\temp\size.xls" ;&lt;BR /&gt;
PROC MEANS DATA = sashelp.class ;&lt;BR /&gt;
	VAR age ;&lt;BR /&gt;
	CLASS sex ;&lt;BR /&gt;
RUN ;&lt;BR /&gt;
ODS TAGSETS.EXCELXP CLOSE ;[/pre]&lt;BR /&gt;
and check in Excel in the PRINTER SETUP menu, I find out that the paper size needed is American Letter (LT 8.5x11in).&lt;BR /&gt;
&lt;BR /&gt;
Am I missing something, is there a missing / hidden option, or is my question just plain stupid ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
Olivier</description>
      <pubDate>Tue, 27 Nov 2007 14:13:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Paper-size-and-EXCELXP/m-p/5715#M2301</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2007-11-27T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Paper size and EXCELXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Paper-size-and-EXCELXP/m-p/5716#M2302</link>
      <description>Hi, Olivier:&lt;BR /&gt;
  You'll have to check with Tech Support for sure, but I have always thought that those options belonged to /worked with ODS PRINTER family destinations, only -- sort of like PAPERSOURCE, DUPLEX etc are only ODS PRINTER options. I thought that PAPERSIZE and PAPERDEST, et al were for PRINTING from the LOG, the LISTING window or some ODS PRINTER destinations. (They belong to a category called ODSPRINT.)&lt;BR /&gt;
 &lt;BR /&gt;
  Since ExcelXP is a MARKUP destination, those options would not have an effect on Excel -- since they are SAS options. If you can figure out what XML tags need to be specified so Excel will use different values, then you could change the ExcelXP tagset to use those values.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 27 Nov 2007 15:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Paper-size-and-EXCELXP/m-p/5716#M2302</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-11-27T15:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Paper size and EXCELXP</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Paper-size-and-EXCELXP/m-p/5717#M2303</link>
      <description>Thanks Cynthia. Your comment seems to prove this is all normal stuff : stick to the Printer family if you want something ready-to-print, and otherwise prepare yourself to include a little extra work on your file if you want it to be printed in a special way.&lt;BR /&gt;
&lt;BR /&gt;
I found out on a forum (http://www.tek-tips.com/viewthread.cfm?qid=1178234&amp;amp;page=1) some information about values of the PaperSizeIndex tag : value 1 (as written by ODS TAGSETS.EXCELXP) stands for LETTER, whereas 9 is for A4.&lt;BR /&gt;
The complete list of values is[pre]&lt;BR /&gt;
Paper Size Table                                    &lt;BR /&gt;
 Index    Paper type               Paper size        &lt;BR /&gt;
 ----------------------------------------------------&lt;BR /&gt;
 0        Undefined                                  &lt;BR /&gt;
 1        Letter                   8 1/2" x 11"      &lt;BR /&gt;
 2        Letter small             8 1/2" x 11"      &lt;BR /&gt;
 3        Tabloid                     11" x 17"      &lt;BR /&gt;
 4        Ledger                      17" x 11"      &lt;BR /&gt;
 5        Legal                    8 1/2" x 14"      &lt;BR /&gt;
 6        Statement                5 1/2" x 8 1/2"   &lt;BR /&gt;
 7        Executive                7 1/4" x 10 1/2"  &lt;BR /&gt;
 8        A3                        297mm x 420mm    &lt;BR /&gt;
 9        A4                        210mm x 297mm    &lt;BR /&gt;
 10       A4 small                  210mm x 297mm    &lt;BR /&gt;
 11       A5                        148mm x 210mm    &lt;BR /&gt;
 12       B4                        250mm x 354mm    &lt;BR /&gt;
 13       B5                        182mm x 257mm    &lt;BR /&gt;
 14       Folio                    8 1/2" x 13"      &lt;BR /&gt;
 15       Quarto                    215mm x 275mm    &lt;BR /&gt;
 16                                   10" x 14"      &lt;BR /&gt;
 17                                   11" x 17"      &lt;BR /&gt;
 18       Note                     8 1/2" x 11"      &lt;BR /&gt;
 19       #9 Envelope              3 7/8" x 8 7/8"   &lt;BR /&gt;
 20       #10 Envelope             4 1/8" x 9 1/2"   &lt;BR /&gt;
 21       #11 Envelope             4 1/2" x 10 3/8"  &lt;BR /&gt;
 22       #12 Envelope             4 3/4" x 11"      &lt;BR /&gt;
 23       #14 Envelope                 5" x 11 1/2"  &lt;BR /&gt;
 24       C Sheet                     17" x 22"      &lt;BR /&gt;
 25       D Sheet                     22" x 34"      &lt;BR /&gt;
 26       E Sheet                     34" x 44"      &lt;BR /&gt;
 27       DL Envelope               110mm x 220mm    &lt;BR /&gt;
 28       C5 Envelope               162mm x 229mm    &lt;BR /&gt;
 29       C3 Envelope               324mm x 458mm    &lt;BR /&gt;
 30       C4 Envelope               229mm x 324mm    &lt;BR /&gt;
 31       C6 Envelope               114mm x 162mm    &lt;BR /&gt;
 32       C65 Envelope              114mm x 229mm    &lt;BR /&gt;
 33       B4 Envelope               250mm x 353mm    &lt;BR /&gt;
 34       B5 Envelope               176mm x 250mm    &lt;BR /&gt;
 35       B6 Envelope               125mm x 176mm    &lt;BR /&gt;
 36       Italy Envelope            110mm x 230mm    &lt;BR /&gt;
 37       Monarch Envelope         3 7/8" x 7 1/2"   &lt;BR /&gt;
 38       6 3/4 Envelope           3 5/8" x 6 1/2"   &lt;BR /&gt;
 39       US Standard Fanfold     14 7/8" x 11"      &lt;BR /&gt;
 40       German Std. Fanfold      8 1/2" x 12"      &lt;BR /&gt;
 41       German Legal Fanfold     8 1/2" x 13"      &lt;BR /&gt;
[/pre]&lt;BR /&gt;
So I guess I must modify my Tagset by using Proc Template, adding some kind of option or other.&lt;BR /&gt;
&lt;BR /&gt;
PS : downloading the latest set of tagsets, the PAPERSIZE option is now taken into account. My dear thanks to all the ODS people who thought about it.</description>
      <pubDate>Tue, 27 Nov 2007 21:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Paper-size-and-EXCELXP/m-p/5717#M2303</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2007-11-27T21:16:56Z</dc:date>
    </item>
  </channel>
</rss>

