PrintLayout layout = new PrintLayoutFactory.Builder() .forReceipt(merchantReceipt) .addTransactionInformation() .addMerchantInfo() .build();
transactionProvider.printCustomReceipt(layout, accessoryParameters, listener)
PrintLayout layout = new PrintLayoutFactory.Builder() .forReceipt(merchantReceipt) .addReceiptType() .addMerchantInfo().addEmptyLine() .addTransactionInformation().addEmptyLine().addEmptyLine() .addStatusText().addEmptyLine().addEmptyLine() .addPaymentDetails().addEmptyLine() .addClearingDetails() .addDateTime() .build();