<?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: Script for saving to PDF in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5057#M5056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would also like a resolution if anyone's found one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2013 11:15:29 GMT</pubDate>
    <dc:creator>tova</dc:creator>
    <dc:date>2013-02-27T11:15:29Z</dc:date>
    <item>
      <title>Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5055#M5054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bunch of graphs that I would like to save to a pdf.&lt;/P&gt;&lt;P&gt;I currently have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Journal()&amp;lt;&amp;lt;Save PDF("C:\Documents and Settings\My Documents\myFile.pdf")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will save my journal as a PDF, but it will be horribly out of scale and across multiple pages.&lt;/P&gt;&lt;P&gt;If I go through File -&amp;gt; Save As -&amp;gt; PDF then I can chose options for scaling/landscape etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to get these options for a script? I can't seem to find anything in the guide or index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 17:20:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5055#M5054</guid>
      <dc:creator>matt_p</dc:creator>
      <dc:date>2012-06-12T17:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5056#M5055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar problem. Did you get any resolution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 07:50:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5056#M5055</guid>
      <dc:creator>joeyjamboadl</dc:creator>
      <dc:date>2012-10-23T07:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5057#M5056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would also like a resolution if anyone's found one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 11:15:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5057#M5056</guid>
      <dc:creator>tova</dc:creator>
      <dc:date>2013-02-27T11:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5058#M5057</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is JSL (JMP10) I use to do what is wanted I think...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;winJOURNAL = CurrentJournal();
//Define setup information to save in pdf
winJOURNAL         &amp;lt;&amp;lt;     Set page setup(
    margins( 0.5, 0.5, 0.5, 0.5 ),
    scale( 0.8 ),
    portrait( 0 ),
    paper size( "A3" )
);
winJOURNAL         &amp;lt;&amp;lt;     get page setup();//get setup information
//Save as PDF
winJOURNAL        &amp;lt;&amp;lt;    SavePDF("C:\Documents and Settings\My Documents\myFile.pdf");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 18:05:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5058#M5057</guid>
      <dc:creator>carole</dc:creator>
      <dc:date>2018-06-26T18:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5059#M5058</link>
      <description>&lt;P&gt;I have had a similar issue.&amp;nbsp; I found that if I set the window size for each graph prior to adding it to the Journal, I was able to print the Journal and the graphs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graph1 &amp;lt;&amp;lt; size window(920,800);
winJournal()["Graph"] &amp;lt;&amp;lt; Apend(Outline Box("Graph",graph1);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also used similar code as that above for page setup and also had to set the window size for the Journal;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;winJOURNAL = CurrentJournal();
//Define setup information to save in pdf
winJOURNAL         &amp;lt;&amp;lt;     Set page setup(
  
    scale( 0.7 ),
 
);
winJOURNAL         &amp;lt;&amp;lt;    Set Window Size(920, 1000);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It took some time to get the sizes correct based on the graphs.&amp;nbsp; I found it is very important to go through this effort and to test it with different display resolutions.&amp;nbsp;&amp;nbsp; Generating a pdf with a lower display resolution will change the scale of the graphs.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 18:06:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5059#M5058</guid>
      <dc:creator>kahart</dc:creator>
      <dc:date>2018-06-26T18:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5060#M5059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Yup indeed, I agree with kahart. &lt;A href="http://www.yiigo.com/guides/net-winforms/how-to-generate-pdf.shtml"&gt;&lt;SPAN style="color: #000000;"&gt;Generating a pdf&lt;/SPAN&gt;&lt;/A&gt; with a lower display resolution will change the scale of the graphs. So have you found out any fine &lt;A href="http://www.yiigo.com/support/kb/formats/pdf/"&gt;&lt;SPAN style="color: #000000;"&gt;PDF tools&lt;/SPAN&gt;&lt;/A&gt; to deal with the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 08:16:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5060#M5059</guid>
      <dc:creator>arronlee</dc:creator>
      <dc:date>2013-10-09T08:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5061#M5060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I always do save as ---&amp;gt; PDF and so on.&lt;/P&gt;&lt;P&gt;You can make adjustments to the size of the page, however I have to agree, this is a very bad interface to generate business suitable pdfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope JMP will look at this issue seriously.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 10:01:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5061#M5060</guid>
      <dc:creator>none1</dc:creator>
      <dc:date>2014-04-15T10:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5062#M5061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not think a 3rd &lt;SPAN style="color: #4f4f4f;"&gt;&lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/pdf-get-to-start/"&gt;&lt;SPAN style="color: #4f4f4f;"&gt;pdf creating tool&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt; can offer any proactical help. Maybe you can have a look at following post which uses code to handle the scaling issue of &lt;SPAN style="color: #4f4f4f;"&gt;&lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/pdf-add-image/"&gt;&lt;SPAN style="color: #4f4f4f;"&gt;image in pdf&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;.&amp;nbsp; Anyway, we are looking forward to the expert to offer some guidance.&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.jmp.com/5.0.2/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 640px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/13557787/saving-graph-in-pdf-or-png-scaling-issue" title="http://stackoverflow.com/questions/13557787/saving-graph-in-pdf-or-png-scaling-issue"&gt;r - saving graph in pdf or png scaling issue - Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 06:46:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5062#M5061</guid>
      <dc:creator>mattyclown</dc:creator>
      <dc:date>2014-04-22T06:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving to PDF</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5063#M5062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exactly what I needed as well ... JMP is so nice :)&lt;/img&gt;&amp;nbsp; ... my Christmas present&lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" src="https://community.jmp.com/7.0.4.3b79b96/images/emoticons/silly.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 02:38:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-to-PDF/m-p/5063#M5062</guid>
      <dc:creator>KinKame</dc:creator>
      <dc:date>2015-12-29T02:38:40Z</dc:date>
    </item>
  </channel>
</rss>

