<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">example sketch from the printer lib says the same:<div><br></div><div><span class="n" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Epson</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;"> </span><span class="n" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">TM88</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;"> </span><span class="o" style="box-sizing: border-box; font-weight: bold; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">=</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;"> </span><span class="n" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Epson</span><span class="p" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">(</span><span class="n" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">rxPin</span><span class="p" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;"> </span><span class="n" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">txPin</span><span class="p" style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">);</span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;"> </span><span class="c1" style="box-sizing: border-box; color: rgb(153, 153, 136); font-style: italic; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: pre; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">// init the Printer with Output-Pin</span></div><div><font class="Apple-style-span" color="#999988" face="Consolas, 'Liberation Mono', Courier, monospace"><span class="Apple-style-span" style="line-height: 18px; white-space: pre;"><i><br></i></span></font></div><div><font class="Apple-style-span" color="#999988" face="Consolas, 'Liberation Mono', Courier, monospace"><span class="Apple-style-span" style="line-height: 18px; white-space: pre;"><i>boo hooo</i></span></font></div><div><font class="Apple-style-span" color="#999988" face="Consolas, 'Liberation Mono', Courier, monospace"><span class="Apple-style-span" style="line-height: 18px; white-space: pre;"><i><br></i></span></font></div><div><font class="Apple-style-span" color="#999988" face="Consolas, 'Liberation Mono', Courier, monospace"><span class="Apple-style-span" style="line-height: 18px; white-space: pre;"><i><br></i></span></font><div><div>Den 03/02/2014 kl. 19.28 skrev Damon Hart-Davis:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>My initial guess is that you are missing an Arduino ‘Epson” library, but that is from a very very quick glance at the code.  (C/C++ and macros and types do not make for easy analysis of things like that.)<br><br>Rgds<br><br>Damon<br><br><br>On 3 Feb 2014, at 18:07, Bo Herrmannsen <<a href="mailto:bo.herrmannsen@gmail.com">bo.herrmannsen@gmail.com</a>> wrote:<br><br><blockquote type="cite">Hi<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">working on a receipt printer that prints out orders from a oscommerce based webshop<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">almost there but a compile error i can figure:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">sketch_feb03a:82: error: expected unqualified-id before numeric constant<br></blockquote><blockquote type="cite">sketch_feb03a.ino: In function 'void setup()':<br></blockquote><blockquote type="cite">sketch_feb03a:151: error: 'TM88' was not declared in this scope<br></blockquote><blockquote type="cite">sketch_feb03a.ino: In function 'void processIncoming()':<br></blockquote><blockquote type="cite">sketch_feb03a:402: error: 'TM88' was not declared in this scope<br></blockquote><blockquote type="cite">sketch_feb03a.ino: In function 'void processPrintChar(char)':<br></blockquote><blockquote type="cite">sketch_feb03a:459: error: 'TM88' was not declared in this scope<br></blockquote><blockquote type="cite">sketch_feb03a:489: error: 'TM88' was not declared in this scope<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">code here: <a href="https://github.com/laird/OSCommerceClient/blob/master/OSCommerce/OSCommerce.ino">https://github.com/laird/OSCommerceClient/blob/master/OSCommerce/OSCommerce.ino</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">lib for the printer here: <a href="https://github.com/signalwerk/thermalprinter">https://github.com/signalwerk/thermalprinter</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">this is one that is killing me..... worse than TMP112<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">i just want it out the door quick<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">HEEEEEEEEEEEEELP<br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">OpenTRV-dev mailing list<br></blockquote><blockquote type="cite"><a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br></blockquote><blockquote type="cite"><a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br></blockquote><br>_______________________________________________<br>OpenTRV-dev mailing list<br><a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>http://lists.opentrv.org.uk/listinfo/opentrv-dev<br></div></blockquote></div><br></div></body></html>