<?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: proc print PDF 90 degree counterclockwise orientation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872880#M344867</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt;&amp;nbsp;Thanks for your comments.&lt;/P&gt;
&lt;P&gt;The desired format was produced by another software. I need to replicate the results using SAS.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 17:34:53 GMT</pubDate>
    <dc:creator>superbug</dc:creator>
    <dc:date>2023-04-28T17:34:53Z</dc:date>
    <item>
      <title>proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872852#M344852</link>
      <description>&lt;P&gt;&amp;nbsp;The code below provide me landscape orientation&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	options orientation=LANDSCAPE topmargin=0.25in bottomargin=0.25in rightmargin=0.25in leftmargin=0.25in;
	ods listing close;
	ods pdf file="....\Result_SAS.pdf" ;
	proc print data=summary noobs;
	id pd;
    by id ;
	var  v1 v2 v3;
	pageby id;
	run;

ODS pdf close;
ods pdf;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;use the code above, I got the table presented as below in PDF&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="superbug_1-1682695894993.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83380i82003068A73A2D2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="superbug_1-1682695894993.png" alt="superbug_1-1682695894993.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I need the table in the produced PDF show as in the picture below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="superbug_0-1682695800073.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83379i9C2C532EAC1F5A2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="superbug_0-1682695800073.png" alt="superbug_0-1682695800073.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would much appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 15:33:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872852#M344852</guid>
      <dc:creator>superbug</dc:creator>
      <dc:date>2023-04-28T15:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872873#M344863</link>
      <description>Isn't that portrait orientation but it'll show as upright in PDF but print as desired?</description>
      <pubDate>Fri, 28 Apr 2023 16:59:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872873#M344863</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-04-28T16:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872877#M344865</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp; Thanks much for looking into my question!&lt;/P&gt;
&lt;P&gt;The desired is when you view an portrait orientation table after 90 degree counterclockwise rotation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I opened the PDF generated using the code in Adobe. In view--&amp;gt;rotation view--&amp;gt;counterclockwise, I got the desired format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wondering how to get the desired format using SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 17:26:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872877#M344865</guid>
      <dc:creator>superbug</dc:creator>
      <dc:date>2023-04-28T17:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872879#M344866</link>
      <description>&lt;P&gt;I don't see a way to do this.&amp;nbsp; But it also seems like an unusual thing to want to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the output you want is landscape, but rotated as you say so that when you view it in a PDF viewer, it is sideways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're viewing this on a screen, why would you want to view it sideways, instead of as a landscape page?&amp;nbsp; Note also that most PDF viewers have a rotate option, so user would be able to rotate it as they like.&amp;nbsp; Similar to how if you print a hard copy, you can rotate it however you like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to submit a ballot item (&lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas" target="_blank"&gt;https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas&lt;/A&gt;) to suggest SAS add an option to allow perhaps a rotation argument for the ORIENTATION option.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 17:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872879#M344866</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-04-28T17:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872880#M344867</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt;&amp;nbsp;Thanks for your comments.&lt;/P&gt;
&lt;P&gt;The desired format was produced by another software. I need to replicate the results using SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 17:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872880#M344867</guid>
      <dc:creator>superbug</dc:creator>
      <dc:date>2023-04-28T17:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872882#M344868</link>
      <description>&lt;P&gt;You might need to consider writing the PDF from SAS, with the desired table in landscape, and then using a PDF editor to rotate the page. Adobe has a free web tool:&amp;nbsp;&lt;A href="https://www.adobe.com/acrobat/online/rotate-pdf.html" target="_blank"&gt;https://www.adobe.com/acrobat/online/rotate-pdf.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hopefully someone else will know a good SAS-only solution.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 17:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872882#M344868</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-04-28T17:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872895#M344875</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304931"&gt;@superbug&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt;&amp;nbsp;Thanks for your comments.&lt;/P&gt;
&lt;P&gt;The desired format was produced by another software. I need to replicate the results using SAS.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why would you want to replicate a mistake?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 18:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872895#M344875</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-04-28T18:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872900#M344877</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;It is not a mistake. Once SAS produce the desired format, it will replace the other software.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 18:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872900#M344877</guid>
      <dc:creator>superbug</dc:creator>
      <dc:date>2023-04-28T18:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc print PDF 90 degree counterclockwise orientation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872915#M344885</link>
      <description>The format is desired when printed, Adobe just displays it for the viewer more appropriately. If the intent is to print out the report it will meet requirements. If the intent is for viewable data online then push back and have the requirement to be updated to make sense.</description>
      <pubDate>Fri, 28 Apr 2023 20:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-PDF-90-degree-counterclockwise-orientation/m-p/872915#M344885</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-04-28T20:27:48Z</dc:date>
    </item>
  </channel>
</rss>

