Solved

Need to kick out a CashDrawer, connected to an Epson Parallel printer

Posted on 2004-09-28
4
413 Views
Last Modified: 2006-11-17
Hi
Iam currently trying to figure out how to kick out a cashdrawer connected to a Epson Parallel printer, the thing is i need to be able to kick the drawer without printing anything. Using commands such as

Printer.FontName = "Control"
Printer.print "A";
Printer.enddoc

Results in paper being feed, which is not very smart if the need to open the drawer say 10 times before actually printing a reciept, so my question is how do i submit the kick drawer command to the printer without triggering the printer driver (which must be the one triggering the feed)

?
0
Comment
Question by:mSchmidt
  • 2
  • 2
4 Comments
 
LVL 50

Expert Comment

by:Ryan Chong
ID: 12167496
>>how to kick out a cashdrawer
Try use mscomm control ? You may try to send 10 "0" to the cashdrawer, like:

...
MSComm1.Output = "0000000000"
...

refer more to your device on what's the exact API/commands to use.
0
 
LVL 50

Accepted Solution

by:
Ryan Chong earned 500 total points
ID: 12167506
Opening a Cash Drawer Through Reciept Printer in VB
http:Q_20136988.html

open a cash drawer in vb6
http:Q_20712042.html
0
 

Author Comment

by:mSchmidt
ID: 12167541
As i said it is Parallel these do concern Serial
0
 

Author Comment

by:mSchmidt
ID: 12285706
Does someone have an sollution for the parallel version ?
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…

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