You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m reaching out to see if you’ve had any success with printing images on iOS using the bluetoothPrint method. Specifically, I’m trying to determine whether the issue you are facing is related to iOS or if it is unique to Android.
I am currently working on a project where I need to print images on iOS, but I’m experiencing difficulties. The images are not printing, and I would appreciate any insights or solutions you might have.
Hello,
I want to display an image in center of page, but not getting it displayed on center.
Kindly provide if someone got this working.
Thanks in advance.
Below is my code snippet.
void printOrder(queryParameters) async {
Map<String, dynamic> config = {};
List list = [];
list.add(LineText(type: LineText.TYPE_IMAGE, content: base64Image, align: LineText.ALIGN_CENTER, width: 200, height: 100, linefeed: 1));
list.add(LineText(linefeed: 1));
list.add(LineText(type: LineText.TYPE_TEXT, content: 'Token No.${tokenNo.text}', weight: 1, align: LineText.ALIGN_CENTER, linefeed: 1));
list.add(LineText(linefeed: 1));
list.add(LineText(type: LineText.TYPE_TEXT, content: 'Name: ${accountName.text} ${dateInput.text} ${queryParameters['orderTime']}', weight: 1, align: LineText.ALIGN_LEFT, linefeed: 1));
list.add(LineText(type: LineText.TYPE_TEXT, content: '--------------------------------', align: LineText.ALIGN_LEFT, linefeed: 1));
list.add(LineText(type: LineText.TYPE_TEXT, content: 'Item Qty Rate Amt', weight: 1, align: LineText.ALIGN_LEFT, linefeed: 1));
list.add(LineText(type: LineText.TYPE_TEXT, content: '--------------------------------', align: LineText.ALIGN_LEFT, linefeed: 1));
await bluetoothPrint.printReceipt(config, list);
}
Thanks!
The text was updated successfully, but these errors were encountered: