-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Description
Hi
I'm developing an application for Sunmi v2 and I use the react-native-sunmi-printer package to print, beside that I use a package called Viewshot to capture a photo of the content to be printed then convert it to base64, the problem is that when the content size is too large the printer stops printing.
const imageUri = await data.current.capture({
result: 'tmpfile',
width: 1000,
});
const base64 = await fs.readFile(imageUri, 'utf8');
await SunmiV2Printer.printBitmap(
base64,
viewShotStyle.width + 50,
viewShotStyle.height + 50,
);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels