Solved

Open Cash Drawer from Vb.net

Posted on 2013-01-12
2
2,607 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
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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add a Condition in ASP Repeater 6 34
Open a link in vb.net 2 16
transition to visual .net from vb6 5 41
Access/Visual Basic Question 3 28
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

830 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