[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3038
  • Last Modified:

Open Cash Drawer from Vb.net

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
rflorencio
Asked:
rflorencio
1 Solution
 
CodeCruiserCommented:
0
 
shorvathCommented:
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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now