Solved

Open Cash Drawer from Vb.net

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

776 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