Solved

Open Cash Drawer from Vb.net

Posted on 2013-01-12
2
2,754 Views
Last Modified: 2013-01-15
In a Pos system i need open cash drawer even without print a receipt. I have Epson usb printers Tm-T20 and Tm-T70.
0
Comment
Question by:rflorencio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38770107
0
 
LVL 9

Accepted Solution

by:
shorvath earned 500 total points
ID: 38770130
You need to use the following ESC codes

ESC p m t1 t2

Outputs pulse to Drawer kick-out port.

m = 0, "0":connector pin 2
m = 1, "1":connector pin 5
t1: on time (* 2ms)
t2: off time (* 2ms)

from this link: http://download.epson-biz.com/modules/pos/index.php?page=single_doc&cid=3087&dcat=27&pcat=3

sample codes can be found at this link: http://utilitysoft.com/CashDrawerCodes.pdf

Then you can see an example of VB.Net to USB with Canon POS printers at this link: http://www.mindfiresolutions.com/How-to-Print-Receipt-by-POS-Printer-using-VBNet-782.php

OR , if you have not done so, download the EPSON OPOS ADK for .NET  from this link: http://download.epson-biz.com/modules/pos/index.php?page=soft&scat=39  This is the best option as it allows you to do all sorts of these things with ease using VB.Net.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question