<?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: partially printed graph in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-partially-printed-graph/m-p/547606#M22603</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;With some luck (and a lot of trial and error) I found a solution. It was necessary to specify&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;goptions device=SASPRTC;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now all the graph are printed perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all anyway&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2019 12:47:19 GMT</pubDate>
    <dc:creator>maxpgn</dc:creator>
    <dc:date>2019-04-01T12:47:19Z</dc:date>
    <item>
      <title>ODS PDF: partially printed graph</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-partially-printed-graph/m-p/547205#M22594</link>
      <description>&lt;P&gt;Hi Everybody,&lt;BR /&gt;I would much appreciate if anyone could give me any help about this problem. I created a ODS PDF report. The report includes 2 pages: on the first one I have 2 tables (T1 and T2), side by side. On the second page, I need to print 3 graphs (G1, G2 and G3). This is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ods _ALL_ CLOSE;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ods pdf file="Report_1.pdf" style=Normal Startpage = off NOTOC nogtitle;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;options papersize=A4;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;options nodate nonumber topmargin=0.003cm &lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;bottommargin=0.03cm&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;leftmargin=0.003cm&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;rightmargin=0.003cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;options orientation=landscape;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;* First Page (T1, T2);&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ods layout start height=19cm width=27cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;*region 1 (T1);&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ODS REGION x=0cm y=1cm width=13cm height=17cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;PROC DOCUMENT NAME=DOCUMS.M07_TAB_1;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;QUIT;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;*region 2 (T2);&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ODS REGION x=13.7cm y=1cm width=13cm height=17cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;PROC DOCUMENT NAME=DOCUMS.M07_TAB_2;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;QUIT;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ods layout end;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;*Second page (G1, G2, G3);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ods pdf startpage=now;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;* Change page orientation;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;options orientation=portrait;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;*Define Layout;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ods layout start height=29cm width=19cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;*Region 1 (for G1);&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ods region y=0.5cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ods graphics on / width=17cm height=8cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;proc document name=DOCUMS.M07_GRAF;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;replay \SGPlot#1;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;quit;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;*Region 2 (for G2);&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ods region y=10cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ods graphics on / width=17cm height=8cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;proc document name=DOCUMS.M07_GRAF;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;replay \SGPlot#2;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;quit;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;*Region 3 (for G3);&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ods region y=19.5cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ods graphics on / width=17cm height=8cm;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;proc document name=DOCUMS.M07_GRAF;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;replay \SGPlot#3;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;quit;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ods layout end;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;o&lt;/EM&gt;&lt;/STRONG&gt;ds pdf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code is working perfectly, generating the pdf report Report1.pdf&lt;BR /&gt;This report must be included as part of a bigger report that we can call report2.pdf: to give you an idea, the two pages of Report1 will become page 11 and 12 of Report_2. The report Report_2 is quite complicated, with many changes in page orientation.&lt;BR /&gt;I tried to include Report_1 into Report_2 by simply including the above mentioned code in the code I use to generate Report_2 but this solution in not working because G3 is printed only partially, as if the layout would not be defined correctly by the same code.&lt;BR /&gt;I can generate G1, G2 amd G3 only by drastically reduce their dimensions, but this would live a lot of white space on the page.&lt;BR /&gt;Any idea?&lt;/P&gt;&lt;P&gt;I already red the topic "ODS PDF Truncated Graph"&lt;BR /&gt;(&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-pdf-truncated-graph/m-p/372941#M18904" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-pdf-truncated-graph/m-p/372941#M18904&lt;/A&gt;) but the solution offered is not appliable in my case: the code for Report_1 is woring perfectly....it's only when this code is used as part of a longer code that it freaks out.&lt;BR /&gt;Thank You very much for any suggestion.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 14:16:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-partially-printed-graph/m-p/547205#M22594</guid>
      <dc:creator>maxpgn</dc:creator>
      <dc:date>2019-03-29T14:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: partially printed graph</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-partially-printed-graph/m-p/547212#M22595</link>
      <description>Hi:&lt;BR /&gt;  You only sent partial code and no data. If your problem happens when the working code is incorporated into another process, then someone will have to look at ALL the code, with data, in order to help you figure out what is going awry. This may be the type of question that is better asked of Tech Support.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 29 Mar 2019 14:36:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-partially-printed-graph/m-p/547212#M22595</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-03-29T14:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: partially printed graph</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-partially-printed-graph/m-p/547606#M22603</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;With some luck (and a lot of trial and error) I found a solution. It was necessary to specify&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;goptions device=SASPRTC;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now all the graph are printed perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all anyway&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2019 12:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-partially-printed-graph/m-p/547606#M22603</guid>
      <dc:creator>maxpgn</dc:creator>
      <dc:date>2019-04-01T12:47:19Z</dc:date>
    </item>
  </channel>
</rss>

