new StaticOrderPrintJob.Builder().order(order).build().print();But would like to be able to only print certain order items. Is this possible?
But would like to be able to only print certain order items. Is this possible?
new StaticOrderPrintJob.Builder().order(order).build().print();But would like to be able to only print certain order items. Is this possible?
But would like to be able to only print certain order items. Is this possible?
I have found StaticOrderPrintJob.Builder().itemIds() to take a look at, but guessing it may only allow specifying which inventory items rather than which order lines... I Will report back how I get on!
List<LineItem> items = order.getLineItems(); List<LineItem> modifiable = new ArrayList<>(items); modifiable.remove(0); order.setLineItems(modifiable); new StaticOrderPrintJob.Builder().order(order).build().print()
1 Person is following this question.