<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stetho:scope &#187; PDF</title>
	<atom:link href="http://blog.stetho.co.uk/tag/pdf/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stetho.co.uk</link>
	<description>I have my uses</description>
	<lastBuildDate>Mon, 07 Jun 2010 20:06:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>More AppleScript stuff</title>
		<link>http://blog.stetho.co.uk/2008/12/19/more-applescript-stuff/</link>
		<comments>http://blog.stetho.co.uk/2008/12/19/more-applescript-stuff/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 12:47:09 +0000</pubDate>
		<dc:creator>stetho</dc:creator>
				<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[PDF]]></category>

		<guid isPermaLink="false">http://blog.stetho.co.uk/?p=19</guid>
		<description><![CDATA[Creating a PDF from AppleScript
This creates test.pdf on your desktop from a variable containing text:
do shell script ("echo " &#38; quote &#38; your_text_variable &#38; quote &#38;
" &#124; /usr/bin/enscript -q -B --word-wrap -p -f Helvetica12 - 
 &#124; /usr/bin/pstopdf -i -o ~/Desktop/test.pdf")
]]></description>
			<content:encoded><![CDATA[<p><strong>Creating a PDF from AppleScript</strong></p>
<p>This creates test.pdf on your desktop from a variable containing text:</p>
<pre>do shell script ("echo " &amp; quote &amp; <span style="color: #ff0000;">your_text_variable</span> &amp; quote &amp;</pre>
<pre>" | /usr/bin/enscript -q -B --word-wrap -p <span class="punct">-</span><span class="ident">f</span> <span class="constant">Helvetica12 - </span></pre>
<pre><span class="constant"> | /usr/bin/pstopdf -i -o ~/Desktop/test.pdf")</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.stetho.co.uk/2008/12/19/more-applescript-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
