We are using following code to take a order print.
PrintJob printJob = new StaticOrderPrintJob.Builder().markPrinted(true).itemIds(itemIds).order(orderId).build();
printJob.print(SocketService.this, mAccount);
It prints the order details correctly.
Now I want to add some custom information like customer name to this print receipt. Is it possible? Then please guide me to how to add custom text information to order print job?