<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/w1024www" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/w1024www" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 16 Sep 2010 09:40:00 GMT</lastBuildDate><title>无田的农民工</title><description>CSDN博客聚合服务</description><link>http://blog.csdn.net/blogrss.aspx?username=w1024www</link><item><title>串口指令打印POS小票（测试用STAR SP742型号）</title><link>http://blog.csdn.net/w1024www/archive/2010/09/16/5889016.aspx</link><description>最近搞了个通过串口发送指令进行POS小票打印的程序，测试的机器是STAR SP742型号POS机。主要的原理就是先把报表转成图片，再通过发送打印图片指令进行小票打印。1.很多报表都有转成图片的函数方法，我选择的报表是VS自带的报表（RDLC格式），因为毕竟我的程序是C#写的嘛！2.STAR SP742型号POS机打印图片的指令如下： ESC K n NUL d1 d2…dn[名称]标准密度图象[代码]ASCII  ESC  K  n  NUL  d1 d2 ……dn     十六进制  1B    4B n  00    d1 d2 ……dn        十进制  27    75 n  0      d1 d2 ……dn[参数定义范围] 1≤n≤总点数                      0≤d≤255了解完了上面几点，那么接着看程序了。首先定义一个接口，毕竟我的打印程序还是有一点清晰度问题的，&lt;img src=&quot;http://www1.feedsky.com/t1/413820225/w1024www/csdn.net/s.gif?r=http://blog.csdn.net/w1024www/archive/2010/09/16/5889016.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/w1024www/413820225/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/w1024www/413820225/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 16 Sep 2010 17:40:00 +0800</pubDate><author>w1024www</author><guid isPermaLink="false">http://blog.csdn.net/w1024www/archive/2010/09/16/5889016.aspx</guid><dc:creator>w1024www</dc:creator><fs:srclink>http://blog.csdn.net/w1024www/archive/2010/09/16/5889016.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/w1024www/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/w1024www/~1123701/413820225/1123695</fs:itemid></item><item><title>十五数码问题</title><link>http://blog.csdn.net/w1024www/archive/2005/07/12/422721.aspx</link><description>十五数码问题又叫移棋盘问题，有很多种解法。今俺用c写了几种解法，望各位指点。&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/w1024www/413820226/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/w1024www/413820226/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 12 Jul 2005 19:58:00 +0800</pubDate><author>w1024www</author><guid isPermaLink="false">http://blog.csdn.net/w1024www/archive/2005/07/12/422721.aspx</guid><dc:creator>w1024www</dc:creator><fs:srclink>http://blog.csdn.net/w1024www/archive/2005/07/12/422721.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/w1024www/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/w1024www/~1123701/413820226/1123695</fs:itemid></item></channel></rss>
