Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I open a cash drawer that is hooked to a slip printer?

Status
Not open for further replies.

Davin

Programmer
Sep 18, 2000
38
0
0
CA
I need to know what I need to pass to a slip printter that has a cash drawer connected to it in order for it to open the cash drawer.
 
I have a few little exe for open cash drawer fow epson and star. I you wish it let me know at Lojze@marpol.si
 
Hi:

u can do it on this form:

on your program call a file .bat, this file only contain this:

rem Cash.bat
rem sen a char bell (07)
echo ^G > prn
^z

callin from your program
-----
---
Run cash.bat
---
-------

other use the command for comm devices, but, to me no works

sorry my english is no good.
L.I.A. Ramon Zea
 
Just send the bell character:
SET DEVICE TO PRINT
.
.
.
?Chr(7) // This will do the job

// OR

@ PRow(), PCol () SAY Chr(7) // The same as before
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top