I have been requested to find a way to add a bell or alarm to the kitchen printer so that when an order comes out it sounds to alert the staff in a busy / noisy kitchen that an order is up. I have found bells that run off of the RJ11 for the cash drawer, but the existing code is hard coded to printer 1. I think I found the code required in TicketParser.Java
m_printer.getDevicePrinter(readString(attributes.getValue("printer"), "1")).openDrawer();
If this read the printer number from the calling script set with <ticket printer="2"> then it could activate on any printer. Additionally if required multiple cash drawers could be supported.</ticket>
Allan
use <opendrawer printer="2"> in your script to activate drawer on other printer</opendrawer>