Solved

Open Cash Drawer from Vb.net

Posted on 2013-01-12
2
2,464 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
2 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
0
 
LVL 9

Accepted Solution

by:
shorvath earned 500 total points
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Trouble with References... 5 21
Code enhancement 5 12
How to measure sizes and angles in scanned images ? 3 25
XML & .net 5 14
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now