Hello, I use the code below to print my receipt. It works like a charm, but I need to set condensed or bold fonts.
There is a way to make this?
Thanks
PrintedReceipt printedReceipt = new PrintedReceipt();
// BODY
List<PrintedReceiptLine> body = new ArrayList<PrintedReceiptLine>();
body.add(newLine(" Line1 "));
body.add(newLine(" Line2 "));
printedReceipt.setBody(body);
receiptPrintingService.printReceipt(jobId, printedReceipt, receiptPrintingServiceListener);
...
private PrintedReceiptLine newLine(String s){
PrintedReceiptLine line = new PrintedReceiptLine();
line.setText(s);
return line;
}