Zebra Cloud Connect Setup Guide
42Q Home > Tools > Zebra Cloud Connect Setup Guide
This edition applies to MES 15 Portal 1.0 and all subsequent releases and modifications until otherwise indicated in new revisions.
Contents
Prerequisites (Android):
- Port 9443 must be open on the printer's network.
- Install the Zebra Printer Setup Utilities app on your Android device.
- Print queue must be set up by 42Q. In order for 42Q to create the print queue, 42Q must know the UUID (Serial Number) of the printer, as well as the desired print queue name.
- https://zprinters.42-q.com:9443/zebra/weblink/ must be reachable from inside the customer's network, e.g. traffic to this address must be allowed through the customer's firewall.
- NOTE: If testing in the uatportal.42-q.com environment, the Cloud Connect URL is https://42qmesuat2.42-q.com:9443/zebra/weblink/
- A Bluetooth enabled Zebra printer
For more information using the Printer Setup Utility for Android, see Printer Setup Utility for Android User Guide
Configuration:
1. Ensure Bluetooth is Open the Zebra Printer Setup Utilities app on the Android Device.
2. Select the printer from the list of nearby printers.
3. Select Connectivity Settings
4. Select Wireless and follow the steps to connect to the wireless network.
5. Select Available Files, then navigate to the configuration file on your Android device.
6. Select the file. The file will be sent to the printer.
If successful, the printer should reboot and reconnect to the correct weblink address.
Prerequisites (Windows):
- Port 9443 must be open on the printer's network.
- Zebra Setup Utilities must be installed on a local computer and the printer must have an established communication method for Zebra Setup Utilities, e.g. USB, Bluetooth, etc. For more information and using/downloading the Zebra Setup Utilities application, see, Zebra Setup Utilities Support.
- Print queue must be set up by 42Q. In order for 42Q to create the print queue, 42Q must know the UUID (Serial Number) of the printer, as well as the desired print queue name.
- https://zprinters.42-q.com:9443/zebra/weblink must be reachable from inside the customer's network, e.g. traffic to this address must be allowed through the customer's firewall.
- NOTE: If testing in the uatportal.42-q.com environment, the Cloud Connect URL is https://42qmesuat2.42-q.com:9443/zebra/weblink/
Configuration:
1. Open Zebra Setup Utilities.
2. Select the desired printer. (This assumes that the printer has been configured in the Setup Utility. For information on how to setup a printer in Zebra Setup Utilities, refer to the video tutorials on the Zebra Setup Utilities Support Page.
3. Select Open Communication with Printer. If connection with the printer is open, the command editor will allow you to Send to the Printer. Depending on the printer configuration, commands can be sent by ZPL, CPCL, or Set Do Go (SDG) commands.
4. Send the following Set Do Go commands:
! U1 setvar "weblink.ip.conn1.location" "https://zprinters.42-q.com:9443/zebra/weblink/"
! U1 setvar "weblink.enable" "on"
! U1 setvar "device.languages" "hybrid_xml_zpl"
! U1 setvar "device.reset" ""
If there are specific network needs, additional variable may be set. For example, the followings commands demonstrate the settings needed for connection using the specified DNS servers: (replace “8.8.8.8” and “domain_name.com” with the appropriate values for your network)
! U1 setvar "weblink.logging.max_entries" "100"
! U1 setvar "ip.dhcp.enable" "on"
! U1 setvar "internal_wired.ip.protocol" "dhcp"
! U1 setvar "internal_wired.ip.dns.servers" "8.8.8.8"
! U1 setvar "internal_wired.ip.dns.domain" "domain_name.com"
! U1 setvar "weblink.ip.conn1.location" "https://zprinters.42-q.com:9443/zebra/weblink/"
! U1 setvar "device.reset" ""
- NOTE: There are many additional variables/commands than can be set/checked depending on a specific need or configuration. Please see the Zebra Programming Guide for a list of commands and their descriptions.
If the commands were executed successfully, the printer will restart and automatically connect to the Zebra Web Service. To view the weblink logs, send the following command:
! U1 getvar "weblink.logging.entries" ""
Check Zebra Web Socket Configurations
! U1 getvar "ip.dhcp.enable"
! U1 getvar "internal_wired.ip.protocol"
! U1 getvar "internal_wired.ip.dns.servers"
! U1 getvar "internal_wired.ip.dns.domain"
! U1 getvar "weblink.ip.conn1.location"
Test the Printer's Network Connection
To determine whether https://zprinters.42-q.com:9443/zebra/weblink/ or https://42qmesuat2.42-q.com/zebra/weblink/ is reachable from inside your network, execute the following tests.
1. Ensure that zprinters.42-q.com can be resolved.
From a Linux terminal or Windows command screen run the following command:
nslookup zprinters.42-q.com
If executed successfully, you should see external output like the following example :
If this output is not seen, your DNS settings must be changed to resolve this host.
2. Check the egress access of your network.
If the Telnet utility is available, run the following command :
telnet zprinters.42-q.com 9443
If the connection is successful, a response similar to the following example should display:
If telnet is not found on a Windows system it can be made available with instructions from the following sites:
If external access cannot be achieved, the customer may need to modify their firewall configuration for egress access to the server.
Helpful Links
Configuring Printers Settings - Outlines using Zebra Setup Utilities for Windows to set Label, Media, and other printer settings.
Zebra Programming Guide - Printer Programming Command Index for ZPL, SGD,ZBI2, and other printers command languages.