Epson TM-T88 Drawer Kick

J

John\\

Okay I have been searching the web for a couple of days now and can not seem
to find a solution.

I have a USB Epson TM-T88III receipt printer with a Cash Drawer connected to
it and I can not programmatically kick the drawer out...

Now I can kick it out after printing as that is in the setup in the
Properties of the printer.

Has anyone been able to kick the drawer out with the ASC codes?

Thanks,


J.
 
C

Chris Dunaway

John\ said:
Okay I have been searching the web for a couple of days now and can not seem
to find a solution.

I have a USB Epson TM-T88III receipt printer with a Cash Drawer connected to
it and I can not programmatically kick the drawer out...

Now I can kick it out after printing as that is in the setup in the
Properties of the printer.

Has anyone been able to kick the drawer out with the ASC codes?

Thanks,


J.

If you get on the Epson site, you can get the ESC codes to send to the
printer. I believe they are under a code called GeneratePulse which
opens the drawer.
 
J

John\\

Thanks for the reply Chris but, I don't have a problem with the Escape codes
but rather telling VB.NET to tell the USB Receipt Printer to kick out the
drawer programmatically.


J.
 
C

Chris Dunaway

John\ said:
Thanks for the reply Chris but, I don't have a problem with the Escape codes
but rather telling VB.NET to tell the USB Receipt Printer to kick out the
drawer programmatically.

Do the codes you send just not work? For the receipt printer we use,
we have to send codes to the printer to kick the drawer.
 
C

Chris Dunaway

Chris said:
Do the codes you send just not work? For the receipt printer we use,
we have to send codes to the printer to kick the drawer.

According to Epson's site, here are the codes to kick the drawer:

ESC p m t1 t2
[Name] Generate pulse
[Format] ASCII ESC p m t1 t2
Hex 1B 70 m t1 t2
Decimal 27 112 m t1 t2
[Range] m = 0, 1, 48, 49
0 = t1 = 255
0 = t2 = 255
[Description] Outputs the pulse specified by t1 and t2 to connector pin
m to open the cash drawer,
as follows:
· t1 specifies the pulse ON time as [t1 × 2 ms].
· t2 specifies the pulse OFF time as [t2 × 2 ms].


 
D

Dick Grier

Perhaps this is what you are looking for:

http://support.microsoft.com/?kbid=322091 (c#). I've seen the equivalent
code in VB, but cannot find a link to it offhand.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top