<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: FileMaker 9 Tip#6: Append to PDF</title>
	<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/</link>
	<description>smart business solutions</description>
	<pubDate>Thu, 04 Dec 2008 20:48:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-1034</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Wed, 07 May 2008 17:02:46 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-1034</guid>
		<description>@Jan:

Yes, absolutely there is. Any time FileMaker asks you for the path to an output file in a script, you can put a variable instead of a hard-coded path. First, you need to create a variable with the correct path. Something like this:

&lt;pre&gt;&lt;code&gt;Set Variable [ $path, "file:" &#038; Get(DesktopPath) &#038; My Field &#038; ".pdf" ]&lt;/code&gt;&lt;/pre&gt;

That puts a "file:" type path in the &lt;code&gt;$path&lt;/code&gt; variable. It will refer to a file on the user's Desktop whose name comes from the &lt;code&gt;My Field&lt;/code&gt; field.

Then, in your &lt;code&gt;Save Records as PDF&lt;/code&gt;, when you specify the file, put &lt;code&gt;$path&lt;/code&gt; in the window instead of choosing a file.

Hope this helps :)

Geoff</description>
		<content:encoded><![CDATA[<p>@Jan:</p>
<p>Yes, absolutely there is. Any time FileMaker asks you for the path to an output file in a script, you can put a variable instead of a hard-coded path. First, you need to create a variable with the correct path. Something like this:</p>
<pre><code>Set Variable [ $path, "file:" &#038; Get(DesktopPath) &#038; My Field &#038; ".pdf" ]</code></pre>
<p>That puts a &#8220;file:&#8221; type path in the <code>$path</code> variable. It will refer to a file on the user&#8217;s Desktop whose name comes from the <code>My Field</code> field.</p>
<p>Then, in your <code>Save Records as PDF</code>, when you specify the file, put <code>$path</code> in the window instead of choosing a file.</p>
<p>Hope this helps <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Geoff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Gravesen</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-1032</link>
		<dc:creator>Jan Gravesen</dc:creator>
		<pubDate>Tue, 06 May 2008 22:03:30 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-1032</guid>
		<description>This is great, thanks a lot. Allmost what I wanted. But I wonder if there is any way to use a value from a field to name the output PDF file.

Jan</description>
		<content:encoded><![CDATA[<p>This is great, thanks a lot. Allmost what I wanted. But I wonder if there is any way to use a value from a field to name the output PDF file.</p>
<p>Jan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-1012</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Mon, 21 Apr 2008 03:05:55 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-1012</guid>
		<description>@raj:

I assume you're sending your email in a loop. The key here is to turn the Append option *off* when you output the brochure layout, and then *on* when you output the certificate(s). This way, each time through the loop, the brochure is re-created, overwriting the existing one, and the certificate is then added to the new, fresh PDF.

If recreating the brochure every time isn't appropriate (maybe it is slow?) then you'll have to put something like the Troi File plug-in or AppleScript in the mix. Create the PDF once, then use the plug-in to copy it to a new location. You can then append to this copy, send the email, then delete it and make a fresh copy.

Hope this helps.

Geoff</description>
		<content:encoded><![CDATA[<p>@raj:</p>
<p>I assume you&#8217;re sending your email in a loop. The key here is to turn the Append option *off* when you output the brochure layout, and then *on* when you output the certificate(s). This way, each time through the loop, the brochure is re-created, overwriting the existing one, and the certificate is then added to the new, fresh PDF.</p>
<p>If recreating the brochure every time isn&#8217;t appropriate (maybe it is slow?) then you&#8217;ll have to put something like the Troi File plug-in or AppleScript in the mix. Create the PDF once, then use the plug-in to copy it to a new location. You can then append to this copy, send the email, then delete it and make a fresh copy.</p>
<p>Hope this helps.</p>
<p>Geoff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj Kiran</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-1011</link>
		<dc:creator>Raj Kiran</dc:creator>
		<pubDate>Sun, 20 Apr 2008 13:29:08 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-1011</guid>
		<description>Thanks for the example of appending pdf.  I have a unique situation - a brochure (same for every one) + Certificate (varies for each person). I want to send these two togeter in one email as attachment.
When I append the certificate to brochure, the brochure file keep growing and keep appending new certificates at the end.. which is not a desirable outcome. I want to keep brochure file clean as orig and append certificate, and send that brochure+cert out keeping the brochure.pdf in its orig state. Can this be done with FM 9?</description>
		<content:encoded><![CDATA[<p>Thanks for the example of appending pdf.  I have a unique situation - a brochure (same for every one) + Certificate (varies for each person). I want to send these two togeter in one email as attachment.<br />
When I append the certificate to brochure, the brochure file keep growing and keep appending new certificates at the end.. which is not a desirable outcome. I want to keep brochure file clean as orig and append certificate, and send that brochure+cert out keeping the brochure.pdf in its orig state. Can this be done with FM 9?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-777</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Wed, 24 Oct 2007 18:20:46 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-777</guid>
		<description>@stefan: I believe PDF creation is still MIA in the 9 runtime. My recollection is that this has to do with the PDF technology licensed by FMI. I've been told that their license doesn't allow the kind of unlimited end user distribution the runtime allows, so they have to keep this feature out. I may be wrong though. Anybody know a different story?</description>
		<content:encoded><![CDATA[<p>@stefan: I believe PDF creation is still MIA in the 9 runtime. My recollection is that this has to do with the PDF technology licensed by FMI. I&#8217;ve been told that their license doesn&#8217;t allow the kind of unlimited end user distribution the runtime allows, so they have to keep this feature out. I may be wrong though. Anybody know a different story?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan LAnker</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-767</link>
		<dc:creator>Stefan LAnker</dc:creator>
		<pubDate>Tue, 23 Oct 2007 15:25:55 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-767</guid>
		<description>Geoff,

YOur articles are GREAT! One question: In FMP 8 when you created a stand-alone version, the PDF functionality was lost (workaround was to print, then select as the printer 'Adobe PDF'. Do you know if with 9 Advanced the PDF and Append PDF function are available when you create a stand-alone version?

THanks!</description>
		<content:encoded><![CDATA[<p>Geoff,</p>
<p>YOur articles are GREAT! One question: In FMP 8 when you created a stand-alone version, the PDF functionality was lost (workaround was to print, then select as the printer &#8216;Adobe PDF&#8217;. Do you know if with 9 Advanced the PDF and Append PDF function are available when you create a stand-alone version?</p>
<p>THanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Klein</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-495</link>
		<dc:creator>Matt Klein</dc:creator>
		<pubDate>Wed, 05 Sep 2007 16:29:02 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-495</guid>
		<description>It appears that I spoke too soon.  I found that if you allow insertion, deleting, rotating of pages in the Security Options then you can append to the pdf.

It would be nice to be able to apply the security options to the pdf AFTER appending.   That way I could just run the script that appends to the pdf without any security restrictions and then lock down the final version of the PDF.

I know I can do this will external apps,  but it would nice to get rid of the external app from the equation.</description>
		<content:encoded><![CDATA[<p>It appears that I spoke too soon.  I found that if you allow insertion, deleting, rotating of pages in the Security Options then you can append to the pdf.</p>
<p>It would be nice to be able to apply the security options to the pdf AFTER appending.   That way I could just run the script that appends to the pdf without any security restrictions and then lock down the final version of the PDF.</p>
<p>I know I can do this will external apps,  but it would nice to get rid of the external app from the equation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-492</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Wed, 05 Sep 2007 15:15:12 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-492</guid>
		<description>@Matt: Coincidentally, I ran in to the exact same problem just last week. It took me a while to figure out so I wish you had posted earlier :) I have not yet found a workaround.</description>
		<content:encoded><![CDATA[<p>@Matt: Coincidentally, I ran in to the exact same problem just last week. It took me a while to figure out so I wish you had posted earlier <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I have not yet found a workaround.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Klein</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-491</link>
		<dc:creator>Matt Klein</dc:creator>
		<pubDate>Wed, 05 Sep 2007 15:09:00 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-491</guid>
		<description>This is a great feature.   I have been doing this in Windows using command line code which works great with a little more scripting.  The Append feature should allow me to clean up my scripts and, of course, use native features instead of external methods.

I just ran into some trouble with the Append feature though that you didn't touch on here....

If you impose any kind of Security on the PDF such as not allowing printing or editing, the Append feature doesn't work.   It creates the PDF just fine,  but when you try to append to it,  you get the Error Code 9 - Insufficient Privileges error.

I tried not imposing any Security until the very last Append and, while the last append worked,  it did not apply the Security settings.

For the most part,  this is not a big deal to most people.   However,  I do work in the Healthcare industry and as such am concerned with HIPPA compliance.

Anyone have a work around or perhaps knowledge that I don't.</description>
		<content:encoded><![CDATA[<p>This is a great feature.   I have been doing this in Windows using command line code which works great with a little more scripting.  The Append feature should allow me to clean up my scripts and, of course, use native features instead of external methods.</p>
<p>I just ran into some trouble with the Append feature though that you didn&#8217;t touch on here&#8230;.</p>
<p>If you impose any kind of Security on the PDF such as not allowing printing or editing, the Append feature doesn&#8217;t work.   It creates the PDF just fine,  but when you try to append to it,  you get the Error Code 9 - Insufficient Privileges error.</p>
<p>I tried not imposing any Security until the very last Append and, while the last append worked,  it did not apply the Security settings.</p>
<p>For the most part,  this is not a big deal to most people.   However,  I do work in the Healthcare industry and as such am concerned with HIPPA compliance.</p>
<p>Anyone have a work around or perhaps knowledge that I don&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Antunes</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-233</link>
		<dc:creator>Jesse Antunes</dc:creator>
		<pubDate>Sun, 22 Jul 2007 05:24:42 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/filemaker-9-tip-6-append-to-pdf/#comment-233</guid>
		<description>&lt;p&gt;@Bart:  You're the man.  Thanks for adding that.  We definitely will add that to the post body...  The really weird thing is that if you don't have print privileges and you attempt to print or append to a pdf, FileMaker doesn't throw the standard &lt;code&gt;Error Code 9 - Insufficient Privileges&lt;/code&gt;.  It throws a much more obtuse &lt;code&gt;Error Code 9 - Command is Unavailable&lt;/code&gt;.  Strange.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Bart:  You&#8217;re the man.  Thanks for adding that.  We definitely will add that to the post body&#8230;  The really weird thing is that if you don&#8217;t have print privileges and you attempt to print or append to a pdf, FileMaker doesn&#8217;t throw the standard <code>Error Code 9 - Insufficient Privileges</code>.  It throws a much more obtuse <code>Error Code 9 - Command is Unavailable</code>.  Strange.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
