flutter print by TCP/IP or Bluetooth with Zebra zq620

// Expert user has replied.
S SANOGO Sy 2 years 6 months ago
1560 22 0

Hi ! I'm Flutter developper App. And I want to print pdf files with zebra zq620. I've tried with Bluetooth, but zebra no longer maintain connection. I need help to use TCP/IP for printing. But if it's possible, I would want to use Bluetooth too. The problem is when I use Bluetooth, zebra no longer keep the connection even if I successfully connected on my mobile phone (IOS/ANDROID). Thank's and excuse me for my english language!

Please Register or Login to post a reply

22 Replies

S Steven Si

How do you connect the ZQ620 in your flutter app? What do you mean by saying "zebra no longer maintain connection.."? The Link-OS SDK for Android Java can help creating the Bluetooth connection to the ZD620, but you would have to manage to call the Java API from the flutter.

S SANOGO Sy

So, as soon as zebra successfully makes connection with my Mobile App, I saw a few second after Bluetooth signal disappears from Zebra printer. I saw that link https://www.zebra.com/us/en/support-downloads/knowledge-articles/zebra-… I use Bluetooth for connecting.

S Steven Si

Please note the above referred link doesn't apply to the ZQ620 printers. So the ZQ620 should not have this issue. Besides, there is workaround to prevent the issue from happing by turning off the Wi-Fi radio.

S SANOGO Sy

That's right !
But I would know how to turn off Wi-Fi radio on zebra ? I use Flutter bluetooth packages. https://pub.dev/packages/bluetooth_print

S SANOGO Sy

I tried to configure with my computer in vain. So I installed Zebra Setup on my mobile phone and I connect by Bluetooth. So, is there a way to turn off Wi-Fi radio by that way?

S Steven Si

Launch the Zebra Printer Setup Utility app. After the printer is connected, go to Connectivity Settings -> Wireless. Then click on the first radio button  on the top of the view that is next to the Wireless. Then follow through the flow to the end and reset the printer. This should set the Wi-Fi radio to the off mode.

S SANOGO Sy

So, I think it's due to the Flutter's package I use. Could you please give me an advice about a Flutter's package I could use for printing PDF with Zebra ZQ620 ?

S SANOGO Sy

Hi, thank's for your answers. I successfully connected my Flutter App on Ipad with Zebra printer. But now, I have time out problem. I would like to know how to increase Bluetooth time out. Thank's !

S Steven Si

You mentioned a *timeout* issue with the iPad. What's the approximate value of the timeout? There is a known Bluetooth issue with ZQ620 printers with iOS devices. Check out this article for the details of a workaround - Troubleshooting Printer Bluetooth 5.0 Connections With iOS Devices.

S SANOGO Sy

But is it possible to use Zebra Setup Utility to configure, especially for sending command to zebra ? I use that app https://play.google.com/store/apps/details?id=com.zebra.printersetup&am…

S Steven Si

You can send the configuration commands to the printer via the Zebra Printer Setup Utility app. You need to put the commands into a file. Store the file on the phone. Then use the "Available Files" option in the app to send the file to the printer.

S SANOGO Sy

The approximate value of the timeout is 10 seconds !

S Steven Si

If the connection only lasts for about 10 sec, then it doesn't sound like the known issue we referred to. This might be something else.

S SANOGO Sy

Hi ! I think you're right. I found that Flutter's package Bluetooth_print could have a bug https://github.com/thon-ju/bluetooth_print/issues/75 . So when we successfully connect to Zebra printer Bluetooth, it's my Flutter's app that lost connection. I tried in vain many packages, could you give me an advice about another one with Flutter that will work in Ipad ? Thank's !

S SANOGO Sy

If it's possible, I'll use wi-fi.
But how to configure Zebra wi-fi ?

S SANOGO Sy

I tried to configure with Zebra setup on my Mobile Phone. I have chosen Wireless, and enabled wireless option. But when I come Back to zebra's configuration, I see wireless still disabled.

S Steven Si

Looks like your unit doesn't have the Wi-Fi. Not every ZQ620 printers have the Wi-Fi. Check the spec of your unit or check if your unit has a Wi-Fi logo on the printer head or on the bottom of the printer. If it doesn't have the Wi-Fi logo, then the printer doesn't have Wi-Fi capability.

S SANOGO Sy

Hi, finally I'm using Bluetooth to connect with Zebra printer. I successfully connected to Zebra. But the problem when I want to print, nothing happens. We see something on printer's screen like a signal but nothing happens. I used Flutter_Blue package.
That's the first step. Next step, I think will be to send command ZPL. Someone gave me advice to use Zebra's plugin for Flutter. If you have an advice for choosing a plugin, I'll appreciate. For now, I found that link https://pub.dev/packages/zebrautility. I'm trying that plugin. Hope it will be the good one. Thank's !

S SANOGO Sy

Hi, is Zebra ZQ620 enabled AirPrint ?

S SANOGO Sy

I would like to configure Zebra ZQ620 if possible for working with Ipad ! Thank's.

S Steven Si

No, none of Zebra printers supports AirPrint. The Bluetooth on the printers is Apple MFi certified, so the printers can connect to iPad over Bluetooth. The Link-OS SDK for iOS has the API for the Bluetooth Classic based printing. For Bluetooth Low Energy based printing on iPad, you would need to use the iOS Core Bluetooth framework directly.

S SANOGO Sy

Hi, finally I found an other alternative. I used MobiPrint that allows to connect Zebra printer to Ipad. It's alright that I do not print directly in my app, but it looks like. So, when I have to print, I load the file from my flutter app in PDF viewer, and thank's to MobiPrint I get an option like MobiPrint Extension. And I can print with Zebra. Big thank's for your assistance. Really appreciated !

CONTACT
Can’t find what you’re looking for?