<?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 Layout positioning in PDF files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-Layout-positioning-in-PDF-files/m-p/322585#M71380</link>
    <description>&lt;P&gt;Would love to; this is a government-approved document I'm trying to match.&amp;nbsp; Exactly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Found the root cause today: I was printing it in Acrobat Reader with the default 'fit to page'.&amp;nbsp; Arghhh...&amp;nbsp; Should have been using the 'Actual size' setting.&amp;nbsp; Once that was changed...it printed fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for replying!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2017 04:20:16 GMT</pubDate>
    <dc:creator>BenConner</dc:creator>
    <dc:date>2017-01-05T04:20:16Z</dc:date>
    <item>
      <title>ODS Layout positioning in PDF files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Layout-positioning-in-PDF-files/m-p/321605#M71053</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Several months ago I created some proof-of-concept code for a PDF report that used the ODS absolute layout functionality. &amp;nbsp;It worked fairly well. &amp;nbsp; Am now revisiting it to apply the final tweaks now that the project has been approved and am finding oddities in terms of positioning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought the absolute layout would measure from the edge of the paper for the x/y values. &amp;nbsp;If it was too close it would just truncate them based on the limitations of the printer I printed on. &amp;nbsp;Now I'm finding that it appears to add the top and left unprintable margins to the x/y values I chose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;%let path=c:\user\ben\;&lt;BR /&gt;ods html close;&lt;BR /&gt;title;&lt;/P&gt;
&lt;P&gt;options orientation=landscape nodate nonumber center ;&lt;BR /&gt;options topmargin=.001IN bottommargin=.001IN leftmargin=.001IN rightmargin=.001IN ;&lt;BR /&gt;ods graphics / noborder;&lt;/P&gt;
&lt;P&gt;ods PDF file="&amp;amp;path.test.pdf" notoc;&lt;BR /&gt;ods layout absolute y=.5in x=.5in;&lt;BR /&gt;ods region y=.0in x=.0in height=.15in width=10in style={background=black};&lt;BR /&gt;ods text="^{style[background=black]}";&lt;BR /&gt;ods layout end;&lt;BR /&gt;ods pdf close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AFAIK, this should produce a solid bar across the top of the page (8.5x11) in landscape mode with the upper left point at .5" down and .5" to the right. &amp;nbsp;The bar should be 10" long. &amp;nbsp;What I'm seeing is the start of the bar is 21/32" from the left and 21/32" from the top, and the bar is 9 5/8" long.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to be missing something as this used to work. &amp;nbsp;Am on vsn 9.4 TS1M3, printing the pdf file to a Xerox WorkCentre 7970 printer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 16:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Layout-positioning-in-PDF-files/m-p/321605#M71053</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2016-12-29T16:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Layout positioning in PDF files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Layout-positioning-in-PDF-files/m-p/322558#M71370</link>
      <description>&lt;P&gt;This question would be better asked to the ODS community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why not set the margins to 1/4" as this is the most common printer margin?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 01:55:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Layout-positioning-in-PDF-files/m-p/322558#M71370</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-01-05T01:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Layout positioning in PDF files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Layout-positioning-in-PDF-files/m-p/322585#M71380</link>
      <description>&lt;P&gt;Would love to; this is a government-approved document I'm trying to match.&amp;nbsp; Exactly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Found the root cause today: I was printing it in Acrobat Reader with the default 'fit to page'.&amp;nbsp; Arghhh...&amp;nbsp; Should have been using the 'Actual size' setting.&amp;nbsp; Once that was changed...it printed fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for replying!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Ben&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 04:20:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Layout-positioning-in-PDF-files/m-p/322585#M71380</guid>
      <dc:creator>BenConner</dc:creator>
      <dc:date>2017-01-05T04:20:16Z</dc:date>
    </item>
  </channel>
</rss>

