mSchmidt
asked on
Need to kick out a CashDrawer, connected to an Epson Parallel printer
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)
?
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)
?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
As i said it is Parallel these do concern Serial
ASKER
Does someone have an sollution for the parallel version ?
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.