<?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>fnokd! &#187; enscript</title>
	<atom:link href="http://www.fnokd.com/tag/enscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fnokd.com</link>
	<description>Bob Blogs</description>
	<lastBuildDate>Mon, 18 May 2009 17:42:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Print like you mean it</title>
		<link>http://www.fnokd.com/2008/09/23/print-like-you-mean-it/</link>
		<comments>http://www.fnokd.com/2008/09/23/print-like-you-mean-it/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 14:57:45 +0000</pubDate>
		<dc:creator>Bob McWhirter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[enscript]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[printing]]></category>

		<guid isPermaLink="false">http://www.fnokd.com/?p=490</guid>
		<description><![CDATA[When digging through code, I find it&#8217;s good to print it out, wander off away from the machine, and do some reading.
But if you print any reasonable-sized chunk of code from Eclipse, you&#8217;ll be carrying around several reams of paper, since Eclipse apparently thinks we&#8217;re all blind illiterates.
For the past decade, my friend &#38; mentor [...]]]></description>
			<content:encoded><![CDATA[<p>When digging through code, I find it&#8217;s good to print it out, wander off away from the machine, and do some reading.</p>
<p>But if you print any reasonable-sized chunk of code from Eclipse, you&#8217;ll be carrying around several reams of paper, since Eclipse apparently thinks we&#8217;re all blind illiterates.</p>
<p>For the past decade, my friend &amp; mentor <a title="Jim's blog" href="http://escx.blogspot.com/">Jim Crossley</a> and I have been passing the same encscript alias back and forth.  I recently had to request it from him again.  (Mental note: put it in SCM somewhere&#8230;)</p>
<pre><code style="font-size: 100%; font-weight: bold;">alias print='enscript --color=blackwhite -E -T4 -M Letterdj -C -2 -fCourier@5/5 -r $*'
</code></pre>
<p>It&#8217;ll spew out your code in landscape mode, syntax-highlighted, two columns of 90 lines each (180 lines total per page), with line-numbers and a nice-looking header.</p>
<p>Many times, this allows you to fit an entire class on a single sheet without any gratuitous wrapping due to Eclipse&#8217;s 24pt font usage.</p>
<p><a href="http://www.fnokd.com/wp-content/uploads/2008/09/picture-25.png"><img class="aligncenter size-full wp-image-507" title="picture-25" src="http://www.fnokd.com/wp-content/uploads/2008/09/picture-25.png" alt="" width="431" height="185" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fnokd.com/2008/09/23/print-like-you-mean-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
