Surile / react-native-sunmi-printer

商米内置打印机
MIT License
44 stars 28 forks source link

SunmiScan module not scanning barcodes ( only scanning qr codes) #18

Closed Rehankhalil462 closed 1 year ago

Rehankhalil462 commented 1 year ago

@Surile I am trying to scan with SunmiScan.scan() but it only scans the qr code, and not scanning the barcodes. also how can we come to know that what is the type of qr or barcode because right now it only sending the data of qr.

Surile commented 1 year ago

@Rehankhalil462 https://developer.sunmi.com/docs/en-US/xeghjk491/ciceghjk502

Rehankhalil462 commented 1 year ago

@Surile I am using in expo react native , it scans other barcodes , but i have code128 barcode which is not being scanned by this. Can you please tell how can i check which type of barcode was scanned by sunmi v2s. because right now i am just getting the data of code.

Rehankhalil462 commented 1 year ago

@Surile also is there any way to get the high quality result of receipt images while using printBitmap method?

Surile commented 1 year ago

I don't think I have the function to support barcode. I read that the document vendor has updated the sdk


---- Replied Message ----
From Rehan ***@***.***>
Date 10/14/2022 21:54
To
Cc
Subject Re: [Surile/react-native-sunmi-printer] SunmiScan module not scanning barcodes ( only scanning qr codes) (Issue #18)

I am using in expo react native , it scans other barcodes , but i have code128 barcode which is not being scanned by this. Can you please tell how can i check which type of barcode was scanned by sunmi v2s. because right now i am just getting the data of code.


Reply to this email directly,
view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: <Surile/react-native-sunmi-printer/issues/18/1279043595@github.com>