Epson POS printer codes not working...


I am trying to get my POS printer to feed out a length of paper and the make a partial cut off. Codes that worked when I did this before in PIC Basic are 27,74,216 for the feed, and 27,105 for the cut off. I've tried various combinations of Serial.print and Serial.write and char etc. but no luck. I can however get it to print symbols using extended ASCII codes, also line feeds using Serial.print ((char)10); I have tested the printer and it's working fine.

Tried using various suggestions from other posts on this subject but no luck so far...

Thanks in advance for any help.

Please post the code you have tried. It is hard to troubleshoot without your code.

Hi Toddl,

Sorry, I should have done that first time...

void setup() { // put your setup code here, to run once:



void loop() {

Serial.println ("test"); Serial.print ("TEST");

Serial.print ((char)178); // black box Serial.print ((char)10); // linefeed Serial.print ((char)10); // linefeed Serial.print ((char)10); // linefeed //Serial.write ((char)74,216); // feed one inch Serial.write ((char)105); // partial cut off

Serial.write(0x1D); Serial.print('i');

delay (3000);

// put your main code here, to run repeatedly: