Open HakiTaakGit opened 7 months ago
final ReceiptSectionText receiptText = ReceiptSectionText(); final ReceiptSectionText receiptSecondText = ReceiptSectionText(); receiptText.addText(kioskCode); receiptText.addSpacer(useDashed: true); receiptText.addLeftRightText('Pharmacy', 'مقابل'); receiptText.addSpacer(); receiptText.addLeftRightText('Date: $appointmentDate', 'تاريخ'); receiptText.addSpacer(); receiptText.addLeftRightText('Time: $appointmentTime', 'الوقت'); receiptText.addSpacer(); receiptText.addLeftRightText('Token #:', 'الرمز #:'); receiptText.addSpacer(); receiptText.addText(cjNo, size: ReceiptTextSizeType.extraLarge); receiptText.addSpacer(); receiptText.addText('MRN: $mrn'); receiptText.addSpacer(); await bluePrintPos.printReceiptText(receiptText, paperSize: PaperSize.mm80); await bluePrintPos.printQR(cjNo, size: 130); receiptSecondText.addSpacer(); receiptSecondText.addText('Thank you for your preference'); await bluePrintPos.printReceiptText(receiptSecondText, feedCount: 1, useCut: true);
Is there any fixes for this