react-native-wifi-p2p icon indicating copy to clipboard operation
react-native-wifi-p2p copied to clipboard

react-native-wifi-p2p connect and send ZPL code to zebra printer via hf2211 wifi serial device server

Open Alnsentry opened this issue 4 years ago • 6 comments

Hi, my name is akbar, I have a project to create a mobile application for a zebra printer and I want the zebra mobile application and printer to connect with wifi and the mobile application can send zpl code to the printer via serial device server. can this library handle it?.

Alnsentry avatar Sep 29 '20 07:09 Alnsentry

Hey @Alnsentry I didn't work with these devices so I can not assure anything. If you can connect to this printer over WiFi direct connection from Android settings and somehow control your device - then I would say yes, it's possible (but it may require some code modification for specific task). But I can not say anything with 100% confidence in advance.

kirillzyusko avatar Sep 29 '20 08:09 kirillzyusko

Thank you, for your response @kirillzyusko . I'll try first whether this works or not

Alnsentry avatar Sep 29 '20 08:09 Alnsentry

Thank you, for your response @kirillzyusko . I'll try first whether this works or not

hi, did you try ? does it work ?

kkureli avatar Oct 25 '21 06:10 kkureli

Thank you, for your response @kirillzyusko . I'll try first whether this works or not

hi, did you try ? does it work ?

I'm not sure, because at that time I almost reached the deadline, so I changed my method by connecting the application and printer with tcp socket and this work for me

Alnsentry avatar Oct 25 '21 06:10 Alnsentry

Thank you, for your response @kirillzyusko . I'll try first whether this works or not

hi, did you try ? does it work ?

I'm not sure, because at that time I almost reached the deadline, so I changed my method by connecting the application and printer with tcp socket and this work for me

thanks for your response. how do you connect to tcp socket?

kkureli avatar Oct 25 '21 07:10 kkureli

Thank you, for your response @kirillzyusko . I'll try first whether this works or not

hi, did you try ? does it work ?

I'm not sure, because at that time I almost reached the deadline, so I changed my method by connecting the application and printer with tcp socket and this work for me

thanks for your response. how do you connect to tcp socket?

if you are like me using hf2211 device on your printer you can set it in system settings, use your ap ip to go to system settings http://10.10.100.254/ (for default ap ip) or you can read the user manual https://fccid.io/2ACSV-HF2211/User-Manual/Users-Manual-3485311.pdf

Alnsentry avatar Oct 25 '21 07:10 Alnsentry