After several weeks I get my USB Trigger open my cashdrawer.. noob
Here how I get it done..
Install a Generic/Text only printer then set the Com port same as the USB Trigger Com Port... (I named it CashDrawer)
In Configuration set the Printer 2 for printer then select CashDrawer (the above Mod Printer Driver).
In Resources>Printer.OpenDrawer I put a simple code :
~~~
<ticket printer="2">
</ticket>
~~~
That would open my cashdrawer when I click Cashdrawer Button on the Sales Panel but it wont open after I clicked Ok in the Change Window... What I missed? any Idea?
Seems that I need to open the drawer before the change window. Then this code
sales.printTicket("Printer.OpenDrawer");
in Resources>Ticket.Close after if(iscash) {
Hello,
Unicenta is the Best Opensource POS ever..!
I've just bought a cash drawer with a USB Trigger..
and I've manage to open the cash drawer using cmd command like this :
mode com1: baud=9600 parity=n data=8 stop=1
copy open > com1
Can we running a CMD command from xml?
Last edit: Evan 2013-06-22
After several weeks I get my USB Trigger open my cashdrawer.. noob
Here how I get it done..
In Resources>Printer.OpenDrawer I put a simple code :
~~~
<ticket printer="2">
</ticket>
~~~
That would open my cashdrawer when I click Cashdrawer Button on the Sales Panel but it wont open after I clicked Ok in the Change Window... What I missed? any Idea?
Seems that I need to open the drawer before the change window. Then this code
sales.printTicket("Printer.OpenDrawer");
in Resources>Ticket.Close after if(iscash) {
Thanks to Richard in https://sourceforge.net/p/unicentaopos/discussion/1126901/thread/1832ee8b/