We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Future printReceiptText( ReceiptSectionText receiptSectionText, { int feedCount = 0, bool useCut = false, bool useRaster = false, double duration = 0, PaperSize paperSize = PaperSize.mm58, }) async { final Uint8List bytes = await contentToImage( content: receiptSectionText.content, duration: duration, ); final List byteBuffer = await _getBytes( bytes, paperSize: PaperSize.mm58, feedCount: feedCount, useCut: useCut, useRaster: useRaster, ); _printProcess(byteBuffer); }
kindly fix the PaperSize parameter. it is statically set to PaperSize.mm58 we cannot change size because of that. Thanks!
The text was updated successfully, but these errors were encountered:
Solved in here #52
Sorry, something went wrong.
No branches or pull requests
Future printReceiptText(
ReceiptSectionText receiptSectionText, {
int feedCount = 0,
bool useCut = false,
bool useRaster = false,
double duration = 0,
PaperSize paperSize = PaperSize.mm58,
}) async {
final Uint8List bytes = await contentToImage(
content: receiptSectionText.content,
duration: duration,
);
final List byteBuffer = await _getBytes(
bytes,
paperSize: PaperSize.mm58,
feedCount: feedCount,
useCut: useCut,
useRaster: useRaster,
);
_printProcess(byteBuffer);
}
kindly fix the PaperSize parameter. it is statically set to PaperSize.mm58 we cannot change size because of that. Thanks!
The text was updated successfully, but these errors were encountered: