Take a look at the SendFileToPrinter API. It's a REST API and can be called from any programming language. The ZQ320 supports the SendFileToPrinter API.
No, the SendFileToPrinter API only supports the Link-OS printers connected to the cloud via network connections. For printers connected via Bluetooth to an Android device, we can print from the browser via the Browser Print SDK.
hello again ,
I have installed browse print on a miui13 android phone
with android version 12skq1
and on a lenovo tb-x606F tablet
on both devices I see and can link via bluetooth
but from browse print the zq320plus
printer does not discover me.
I am following the Browser Print Android User Guide
Am I missing a driver or similar?
Have you tried to put the entire Browser Print JavaScript library folder on a server and access the sample/index.html page via the browser on the device? When you open the sample/index.html page in the browser on the device, you need to accept the certificate.
hello ,
I have just uploaded the zebra-browser-print-js-v31250 folder to the server and I have executed the index inside the sample folder .. I have accepted the certificate ..
in folder, but in selected device or nothing comes out or undefined
that is, it does not recognize a printer
The Browser Print does support HTTPS. In the Browser Print app on Android, you should be able to connect to a printer via Bluetooth. Then open the browser on the same device and type in the URL of https://cagdemo.com in the address box, which is a HTTPS webserver. You should be able to see the Bluetooth printer connected in the cagdemo app. You can also click on the "Change" button, which will give a list of the printers discovered over the network and Bluetooth.
hello ,
thanks for all your instructions, my problem is really that browse print does not detect the bluetooth printer
In browse print I have enabled the search for bluetooth printer, but it can't find any..
I have also tried the zebra print setup utility application and if it detects the printer, but when connecting to the printer it gives me an error. The printer turns on the blue bluetooth icon but after a while it turns off and gives an error. The phone message It tells me to check the devices and settings and that it is connecting to a compatible printer..
Through the bluetooth of the phone I see and synchronize the printer without problem, when I link the printer it even prints the link code on the printer..
If the Bluetooth printer can be discovered by the Browser Print app on the Android device but cannot be discovered in a browser on the device, then please switch to the Chrome browser on the device. Chrome is supported by the Browser Print.
There are a few thing to look at if the Browser Print app cannot detect the Bluetooth printer.
1. Make sure all the permissions are granted to the Browser Print app on the Android device. The Bluetooth discovery requires the location permission. Check the permission in Settings -> Apps -> Browser Print -> Permissions.
2. Make sure the Bluetooth classic on the printer is enabled and discoverable. Unlike the Zebra Printer Setup Utility app, the Browser Print app does not work with Bluetooth Low Energy. The Browser Print app can only discovers the Bluetooth classic on the printer. You can use the Printer Setup Utility app to configure the Bluetooth settings on the printer through the Connectivity Settings option in the app. Make sure that the Controller Mode is either Classic or Both in the Connectivity Settings.
Thank you very much for these two important notes.
The first one, Browser Print will not discover the device if the location permission is not enabled...
The second, fundamental and essential, is accessed through the Zebra Printer Setup Utility by connecting the printer via usb and sending the following parameters to enable the printer to be discoverable via bluetooth..
Great job..thank you very much
https://cagdemo.com/FoodPackaging.html
what a great contribution !!!!!! :-)
Now the browser already detects the printer... and I can print and the best thing is that clicking on a <li> tag prints directly to the printer... fantastic, just what I needed...
I have some doubts:
between printing and printing a lot of paper is spent, is it possible to control these spaces?
It would be possible to download the code, from cagdemo.com now I see it through the developer tools....
Grades :
The browse Print documentation is very good, it is downloaded from your website when you download the browsePrint javascritp api, maybe all these doubts will be answered there..
14 Replies
Take a look at the SendFileToPrinter API. It's a REST API and can be called from any programming language. The ZQ320 supports the SendFileToPrinter API.
No, the SendFileToPrinter API only supports the Link-OS printers connected to the cloud via network connections. For printers connected via Bluetooth to an Android device, we can print from the browser via the Browser Print SDK.
Have you tried to put the entire Browser Print JavaScript library folder on a server and access the sample/index.html page via the browser on the device? When you open the sample/index.html page in the browser on the device, you need to accept the certificate.
hello ,
I have just uploaded the zebra-browser-print-js-v31250 folder to the server and I have executed the index inside the sample folder .. I have accepted the certificate ..
in folder, but in selected device or nothing comes out or undefined
that is, it does not recognize a printer
The server is plesk and has https enabled
The Browser Print does support HTTPS. In the Browser Print app on Android, you should be able to connect to a printer via Bluetooth. Then open the browser on the same device and type in the URL of https://cagdemo.com in the address box, which is a HTTPS webserver. You should be able to see the Bluetooth printer connected in the cagdemo app. You can also click on the "Change" button, which will give a list of the printers discovered over the network and Bluetooth.
hello ,
thanks for all your instructions, my problem is really that browse print does not detect the bluetooth printer
In browse print I have enabled the search for bluetooth printer, but it can't find any..
I have also tried the zebra print setup utility application and if it detects the printer, but when connecting to the printer it gives me an error. The printer turns on the blue bluetooth icon but after a while it turns off and gives an error. The phone message It tells me to check the devices and settings and that it is connecting to a compatible printer..
Through the bluetooth of the phone I see and synchronize the printer without problem, when I link the printer it even prints the link code on the printer..
If the Bluetooth printer can be discovered by the Browser Print app on the Android device but cannot be discovered in a browser on the device, then please switch to the Chrome browser on the device. Chrome is supported by the Browser Print.
this is the actual problem:
Bluetooth printer cannot be detected by Browser Print app on Android device
There are a few thing to look at if the Browser Print app cannot detect the Bluetooth printer.
1. Make sure all the permissions are granted to the Browser Print app on the Android device. The Bluetooth discovery requires the location permission. Check the permission in Settings -> Apps -> Browser Print -> Permissions.
2. Make sure the Bluetooth classic on the printer is enabled and discoverable. Unlike the Zebra Printer Setup Utility app, the Browser Print app does not work with Bluetooth Low Energy. The Browser Print app can only discovers the Bluetooth classic on the printer. You can use the Printer Setup Utility app to configure the Bluetooth settings on the printer through the Connectivity Settings option in the app. Make sure that the Controller Mode is either Classic or Both in the Connectivity Settings.
Thank you very much for these two important notes.
The first one, Browser Print will not discover the device if the location permission is not enabled...
The second, fundamental and essential, is accessed through the Zebra Printer Setup Utility by connecting the printer via usb and sending the following parameters to enable the printer to be discoverable via bluetooth..
Great job..thank you very much
! U1 setvar "bluetooth.enable" "on"
! U1 setvar "bluetooth.friendly_name" "PRINTERNAME"
! U1 setvar "bluetooth.discoverable" "on"
! U1 setvar "bluetooth.minimum_security_mode" "1"
! U1 setvar "bluetooth.bonding" "on"
! U1 setvar "bluetooth.enable_reconnect" "off"
! U1 setvar "bluetooth.allow_non_display_numeric_comparison" "print"
! U1 setvar "bluetooth.le.controller_mode" "both"
! U1 setvar "bluetooth.le.minimum_security" "none"
! U1 do "device.reset" ""
https://cagdemo.com/FoodPackaging.html
what a great contribution !!!!!! :-)
Now the browser already detects the printer... and I can print and the best thing is that clicking on a <li> tag prints directly to the printer... fantastic, just what I needed...
I have some doubts:
between printing and printing a lot of paper is spent, is it possible to control these spaces?
It would be possible to download the code, from cagdemo.com now I see it through the developer tools....
Grades :
The browse Print documentation is very good, it is downloaded from your website when you download the browsePrint javascritp api, maybe all these doubts will be answered there..