A client is using an Epson TM-U590 single sheet printer. This printer has a top print margin of 18.9mm, but I need to print prior to that.
There is a way to achieve this by reverse feeding the paper. To achieve this, I need to send the printer command ESC K 55 before every page.

There even is a field in the printer driver to enter commands which are then sent before every page.

My problem is: in what format do I enter this command? Decimal numbers, like 27 75 55? Or hex, like 1B 4B 37? Or in some other funky style?

link|improve this question

1  
did you try jsut putting in K 55 ? ESC might not be needed, but did you just try ESC k 55 any way.. – ppumkin Jan 26 at 11:40
1  
k55, \033K55 and \x1bK55 might also be worth trying. – grawity Jan 26 at 11:57
The printer is at the clients place, and I'm trying to figure out what to tell him to try. So I can't just try every possible combination myself :/ – Sam Jan 26 at 12:02
1  
@Sam - Sounds like a trip to your client is in order. – Ramhound Jan 26 at 12:21
Lucky me, thanks to your suggestions we broke it down fast to "1B 4B 37". The field did not allow input of K, when I entered 75 57 the printer printed the characters of the hex value of both, so I guessed to use hex and to prepend the esc. – Sam Jan 26 at 13:43
feedback

1 Answer

up vote 0 down vote accepted

Lucky me, thanks to your suggestions we broke it down fast to "1B 4B 37". The field did not allow input of K, when I entered 75 57 the printer printed the characters of the hex value of both, so I guessed to use hex and to prepend the esc.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.