We want to implement functionality in which we need to print receipt of order in kitchen printer based on label assigned to that kitchen printer
For example , Order have 2 items Orange Juice (soft-drink label) & Ice-cream (Dessert label).
We want to print order receipt of Orange Juice to be printed in Printer having label (Soft-Drink) and receipt of Ice-cream to be printed on Dessert label printer.
We have tried below ways to achieve above functionality,
- get list of printers having Order category using (printerConnector.getPrinters(Category.ORDER)
- get list of tags(labels) and items using inventoryConnector.getTags() and REST api as well.
- we have tried to map specific printer to specific inventory item tag/label using inventoryConnector.getTagsForPrinter(printerUUID) which should return tags associated with that printer , but it returns 0.
Please suggest best way to fulfill above functionality.