<?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>Kellbot! &#187; hacking printers</title>
	<atom:link href="http://www.kellbot.com/tag/hacking-printers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kellbot.com</link>
	<description>Tinysaurs and Hacking and Nonsense</description>
	<lastBuildDate>Wed, 09 May 2012 16:49:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Thermal Printer Success!</title>
		<link>http://www.kellbot.com/2009/10/thermal-printer-success/</link>
		<comments>http://www.kellbot.com/2009/10/thermal-printer-success/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 13:07:45 +0000</pubDate>
		<dc:creator>Postling</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[hacking printers]]></category>

		<guid isPermaLink="false">http://www.kellbot.com/2009/10/thermal-printer-success/</guid>
		<description><![CDATA[&#160;Success! I&#8217;ve managed to print to the thermal printer by sending commands over my homemade connector cable in HyperTerminal. &#160;There were a few breakthroughs which helped me get to this point. On the off chance they might answer, I asked the manufacturer for the pinout information for the serial port on the PD-22. Not only <a href="http://www.kellbot.com/2009/10/thermal-printer-success/">...</a>]]></description>
			<content:encoded><![CDATA[<p>&nbsp;Success! I&#8217;ve managed to print to the thermal printer by sending commands over my homemade connector cable in HyperTerminal.</p>
<p><a title="Picture 027 by kellbot, on Flickr" href="http://www.flickr.com/photos/kellbot/4006424375/"><img width="500" height="333" alt="Picture 027" src="http://farm3.static.flickr.com/2570/4006424375_99d8430c5b.jpg" /></a></p>
<p>&nbsp;There were a few breakthroughs which helped me get to this point. On the off chance they might answer, I asked the manufacturer for the pinout information for the serial port on the PD-22. Not only did they send me a <a href="http://www.kellbot.com/wp-content/uploads/PD-22RS-232C.PDF">pin diagram</a>, they also included a <a href="http://www.kellbot.com/wp-content/uploads/PD22CABLE.PDF">schematic for the cable</a>.</p>
<p><img width="69" height="71" align="left" alt="" src="http://images.postling.com/6/68c/g_fullxfull.465.jpg" />Pins 1-8 are straightforward and what you&#8217;d expect to find on RS232. I was originally thrown off because 9 looked like signal ground. Pins 9 and 10 are tied to each other, and go to signal ground internally. I think this is used to indicate that the cable is present, as the printer defaults to IrDA otherwise. I&#8217;ve updated the <a href="http://www.kellbot.com/wp-content/uploads/specialserial.brd">Eagle schematic</a> to tie 9 and 10 together and removed the traces which aren&#8217;t connected to anything.</p>
<p>I didn&#8217;t have a chance to etch the new board yet, but really wanted to try things out so I made do with the old one by just putting a blob of solder between pins 9 and 10. It&#8217;s not very pretty, but it works!</p>
<p><a title="Picture 026 by kellbot, on Flickr" href="http://www.flickr.com/photos/kellbot/4006422723/"><img width="500" height="333" alt="Picture 026" src="http://farm4.static.flickr.com/3512/4006422723_05e4f8b890.jpg" /></a></p>
<p>The next step is getting this contraption working with the Arduino instead of running off a USB serial port on my laptop. I have to read up on the SoftwareSerial library, as I haven&#8217;t really done anything with it before. I also need to read the command sheet more carefully, I&#8217;ve figured out how to print, and turn the thing off via serial, but haven&#8217;t got it to feed the paper after printing. Right now I just press the feed button.</p>
<p>But it works!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kellbot.com/2009/10/thermal-printer-success/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

