Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes only QR code is getting, the texts above the QR code are not printed #83

Open
HakiTaakGit opened this issue Jan 22, 2024 · 1 comment

Comments

@HakiTaakGit
Copy link

HakiTaakGit commented Jan 22, 2024

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);

print

@HakiTaakGit
Copy link
Author

Is there any fixes for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant