<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Learn Postscript &#187; Preview</title>
	<atom:link href="http://learnpostscript.wordpress.com/category/preview/feed/" rel="self" type="application/rss+xml" />
	<link>http://learnpostscript.wordpress.com</link>
	<description>Programming Language</description>
	<lastBuildDate>Thu, 19 Mar 2009 17:55:53 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='learnpostscript.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/864cf471b5a5a7bd36d1cdc44c9cc488?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Learn Postscript &#187; Preview</title>
		<link>http://learnpostscript.wordpress.com</link>
	</image>
			<item>
		<title>Hello World!</title>
		<link>http://learnpostscript.wordpress.com/2007/06/05/hello-world/</link>
		<comments>http://learnpostscript.wordpress.com/2007/06/05/hello-world/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 21:14:54 +0000</pubDate>
		<dc:creator>macenable</dc:creator>
				<category><![CDATA[Preview]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[There is an application, comes with Mac OS X, called Preview that
interprets postscript code. With it, you can open a text file containing code like this:
%!PS
/fontSize 12 def
/charRow 16 string def % BUFFER
/Symbol fontSize selectfont
20 770 translate
0 0 moveto
0 1 15 {
    /y exch 16 mul def
    0 1 15 {
        charRow exch dup y add put
        } for
    gsave [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnpostscript.wordpress.com&blog=1199990&post=1&subd=learnpostscript&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is an application, comes with Mac OS X, called <strong>Preview</strong> that<br />
interprets postscript code. With it, you can open a text file containing code like this:</p>
<p><code>%!PS<br />
/fontSize 12 def<br />
/charRow 16 string def % BUFFER<br />
/Symbol fontSize selectfont<br />
20 770 translate<br />
0 0 moveto<br />
0 1 15 {<br />
    /y exch 16 mul def<br />
    0 1 15 {<br />
        charRow exch dup y add put<br />
        } for<br />
    gsave charRow show grestore<br />
    0 fontSize neg rmoveto<br />
    } for<br />
showpage</code></p>
<p>and <strong>Preview</strong> will automatically interpret the code and give you the image.  </p>
<p>The above code generates a page showing all the Symbol font characters:</p>
<p><img src="http://www.zapmap.com/learnpostscript/symbol.png" alt="Symbol character set" /></p>
<p>The <strong>Preview</strong> application is an interpreter, albeit not a full-featured interpreter like <strong>Distiller</strong>, but it&#8217;s very useful for running simple postscript programs.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/learnpostscript.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/learnpostscript.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/learnpostscript.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/learnpostscript.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/learnpostscript.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/learnpostscript.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/learnpostscript.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/learnpostscript.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/learnpostscript.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/learnpostscript.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/learnpostscript.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/learnpostscript.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=learnpostscript.wordpress.com&blog=1199990&post=1&subd=learnpostscript&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://learnpostscript.wordpress.com/2007/06/05/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e84d4622239b2738f7e572c9f43d88c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Groggy</media:title>
		</media:content>

		<media:content url="http://www.zapmap.com/learnpostscript/symbol.png" medium="image">
			<media:title type="html">Symbol character set</media:title>
		</media:content>
	</item>
	</channel>
</rss>