Difference between revisions of "Zebra Cloud Connect Setup Guide"

From 42Q
Jump to navigation Jump to search
Line 1: Line 1:
  
 
+
 
  
 
== Prerequisites(Android): ==
 
== Prerequisites(Android): ==
Line 11: Line 11:
 
*A Bluetooth enabled Zebra printer  
 
*A Bluetooth enabled Zebra printer  
  
 
+
For more information using the Printer Setup Utility for Android, see [https://www.zebra.com/apps/dlmanager?dlp=-227178c9720c025483893483886ea54a70963bb77ca94fcc71802203c49b944294cded19f97e8a106259cd3b9d57f183e479ca693762fca26b4b48294b8d616f758dc08a4776de4746caaf49c506ab4&c=us&l=en Printer Setup Utility for Android User Guide]
  
 
=== Configuration: ===
 
=== Configuration: ===
Line 27: Line 27:
 
If successful, the printer should reboot and reconnect to the correct weblink address.
 
If successful, the printer should reboot and reconnect to the correct weblink address.
  
<br>
+
&nbsp;
 
 
  
 
== Prerequisites (Windows): ==
 
== Prerequisites (Windows): ==
  
*Zebra Setup Utilities must be installed on a local computer( Windows) 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 the following link.
+
*Port 9443 must be open on the printer's network.
 
+
*Zebra Setup Utilities must be installed on a local computer( Windows) 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,&nbsp;[https://www.zebra.com/us/en/products/software/barcode-printers/zebralink/zebra-setup-utility.html https://www.zebra.com/us/en/products/software/barcode-printers/zebralink/zebra-setup-utility.html].  
    *  [https://www.zebra.com/us/en/products/software/barcode-printers/zebralink/zebra-setup-utility.html https://www.zebra.com/us/en/products/software/barcode-printers/zebralink/zebra-setup-utility.html]
 
 
 
        1.  For information on how to configure communication with the printer, see the Software Tutorials section on the above web page.
 
 
 
 
*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.  
 
*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.  
+
*''[https://zprinters.42-q.com:9443/zebra/weblink 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.  
 +
**'''<u>NOTE</u>''': If testing in the uatportal.42-q.com environment, the Cloud Connect URL is ''[http://42qmesuat2.42-q.com:9443/zebra/weblink/ http://42qmesuat2.42-q.com:9443/zebra/weblink/]'' 
  
 
&nbsp;
 
&nbsp;
Line 45: Line 41:
 
=== Configuration ===
 
=== Configuration ===
  
1. Open Zebra Setup Utilities. 1. Select the desired printer. 1. 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. 1. Send the following Set Do Go commands:
+
1. Open Zebra Setup Utilities.
  
_! U1 setvar "weblink.ip.conn1.location" "[https://zprinters.42-q.com:9443/zebra/weblink/ https://zprinters.42-q.com:9443/zebra/weblink/]"_
+
1. Select the desired printer. (This assumes that the printer has been configured in the Setup Utility. For information on how to&nbsp;
  
_! U1 setvar "weblink.enable" "on" _
+
1. 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.
  
_! U1 setvar "device.unique_id" "**UUID of your printer**" _
+
1. Send the following Set Do Go commands:
  
_! U1 setvar "device.languages" "hybrid_xml_zpl" _
+
<code>
  
_! U1 setvar "device.reset" ""_
+
! U1 setvar "weblink.ip.conn1.location" "[https://zprinters.42-q.com:9443/zebra/weblink/ https://zprinters.42-q.com:9443/zebra/weblink/]"
  
If there are specific network needs, additional variable may be set.
+
! U1 setvar "weblink.enable" "on"
  
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 "device.unique_id" "**UUID of your printer**"
  
&nbsp;
+
! U1 setvar "device.languages" "hybrid_xml_zpl"
  
    _! U1 setvar "weblink.logging.max_entries" "50" _
+
! U1 do&nbsp;"device.reset" ""
  
&nbsp;
+
</code>
  
    _! U1 setvar "ip.dhcp.enable" "on" _
+
If there are specific network needs, additional variable may be set.
  
&nbsp;
+
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 "internal_wired.ip.protocol" "dhcp" _
+
<code>
  
&nbsp;
+
! U1 setvar "weblink.logging.max_entries" "50"
  
    _! U1 setvar "internal_wired.ip.dns.servers" "8.8.8.8"_
+
! U1 setvar "ip.dhcp.enable" "on"&nbsp;
  
&nbsp;
+
! U1 setvar "internal_wired.ip.protocol" "dhcp"
  
    _! U1 setvar "internal_wired.ip.dns.domain" "domain_name.com" _
+
! U1 setvar "internal_wired.ip.dns.servers" "8.8.8.8"
  
&nbsp;
+
! U1 setvar "internal_wired.ip.dns.domain" "domain_name.com"
  
    _! U1 setvar "weblink.ip.conn1.location" "[https://zprinters.42-q.com:9443/zebra/weblink/ https://zprinters.42-q.com:9443/zebra/weblink/]" _
+
! U1 setvar "weblink.ip.conn1.location" "[https://zprinters.42-q.com:9443/zebra/weblink/ https://zprinters.42-q.com:9443/zebra/weblink/]"
  
&nbsp;
+
! U1 do&nbsp;"device.reset" ""
  
    _! U1 setvar "device.reset" ""_
+
</code>
  
 
&nbsp;
 
&nbsp;
  
        **<span style="text-decoration:underline;">NOTE</span>: **The UUID is the SN of the printer.  
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; **<span style="text-decoration:underline;">NOTE</span>: **The UUID is the SN of the printer.&nbsp;
  
 
&nbsp;
 
&nbsp;
  
        **<span style="text-decoration:underline;">NOTE</span>: **There are many additional variables/commands than can be set/checked depending on a specific need or configuration. Please see, [Zebra Programming Guide]([https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf]) for a list of commands and their descriptions.
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; **<span style="text-decoration:underline;">NOTE</span>: **There are many additional variables/commands than can be set/checked depending on a specific need or configuration. Please see, [Zebra Programming Guide]([https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf]) 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.
 
If the commands were executed successfully, the printer will restart and automatically connect to the Zebra Web Service.
  
 
&nbsp;
 
&nbsp;
 
#
 
##Check Zebra Web Socket Configurations 
 
 
&nbsp;
 
 
    _! U1 getvar "ip.dhcp.enable" _
 
  
 
&nbsp;
 
&nbsp;
  
    _! U1 getvar "internal_wired.ip.protocol" _
+
==== Check Zebra Web Socket Configurations ====
  
 
&nbsp;
 
&nbsp;
  
    _! U1 getvar "internal_wired.ip.dns.servers" _
+
! U1 getvar "ip.dhcp.enable"
  
&nbsp;
+
! U1 getvar "internal_wired.ip.protocol"
  
    _! U1 getvar "internal_wired.ip.dns.domain" _
+
! U1 getvar "internal_wired.ip.dns.servers"
  
&nbsp;
+
! U1 getvar "internal_wired.ip.dns.domain"
  
    _! U1 getvar "weblink.ip.conn1.location" _
+
! U1 getvar "weblink.ip.conn1.location"
  
 
&nbsp;
 
&nbsp;
  
#
+
=== Check the Network Connection ===
##Check the Network Connection  
 
  
 
To determine whether _[https://zprinters.42-q.com:9443/zebra/weblink [4]]([https://zprinters.42-q.com:9443/zebra/weblink https://zprinters.42-q.com:9443/zebra/weblink]) _is reachable from inside your network, execute the following tests.
 
To determine whether _[https://zprinters.42-q.com:9443/zebra/weblink [4]]([https://zprinters.42-q.com:9443/zebra/weblink https://zprinters.42-q.com:9443/zebra/weblink]) _is reachable from inside your network, execute the following tests.
Line 137: Line 125:
 
From a linux terminal or windows command screen run the command&nbsp;:
 
From a linux terminal or windows command screen run the command&nbsp;:
  
    _nslookup [zprinters.42-q.com]([http://zprinters.42-q.com/)_ http://zprinters.42-q.com/)_]
+
&nbsp; &nbsp; _nslookup [zprinters.42-q.com]([http://zprinters.42-q.com/)_ http://zprinters.42-q.com/)_]
  
 
If executed successfully, you should see external output like the following example&nbsp;:
 
If executed successfully, you should see external output like the following example&nbsp;:
Line 159: Line 147:
 
If a telnet utility is available then run the command&nbsp;:
 
If a telnet utility is available then run the command&nbsp;:
  
    _telnet [zprinters.42-q.com]([http://zprinters.42-q.com/ http://zprinters.42-q.com/]) 9443_
+
&nbsp;&nbsp; _telnet [zprinters.42-q.com]([http://zprinters.42-q.com/ http://zprinters.42-q.com/]) 9443_
  
 
You should see a successful connection like the following example:
 
You should see a successful connection like the following example:
Line 171: Line 159:
 
_ Type "ctrl-]" and then "q" to exit_
 
_ Type "ctrl-]" and then "q" to exit_
  
  If telnet is not found on a windows system it can be made available with instructions from the
+
&nbsp; If telnet is not found on a windows system it can be made available with instructions from the
  
  following sites:
+
&nbsp;&nbsp; following sites:
  
    [https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-client.aspx [5]]([https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-client.aspx https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-client.aspx])
+
&nbsp;&nbsp; [https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-client.aspx [5]]([https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-client.aspx https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-client.aspx])
  
              -or-
+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -or-
  
    [https://www.wikihow.com/Activate-Telnet-in-Windows-7 [6]]([https://www.wikihow.com/Activate-Telnet-in-Windows-7 https://www.wikihow.com/Activate-Telnet-in-Windows-7])
+
&nbsp;&nbsp; [https://www.wikihow.com/Activate-Telnet-in-Windows-7 [6]]([https://www.wikihow.com/Activate-Telnet-in-Windows-7 https://www.wikihow.com/Activate-Telnet-in-Windows-7])
  
 
If external access cannot be achieved, the customer may need to modify their firewall configuration for egress access to the server.
 
If external access cannot be achieved, the customer may need to modify their firewall configuration for egress access to the server.
 +
 +
&nbsp;
 +
 +
== Helpful Links ==
 +
 +
https://www.zebra.com/us/en/support-downloads/knowledge-articles/zebra-setup-utilities--configuring-printer-settings.html
 +
 +
&nbsp;

Revision as of 15:02, 15 November 2018

 

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. 
  • 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. 1. Select Connectivity Settings

3. Select Wireless and follow the steps to connect to the wireless network.

4. Select Available Files, then navigate to the configuration file on your Android device.

5. 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):

 

Configuration

1. Open Zebra Setup Utilities.

1. Select the desired printer. (This assumes that the printer has been configured in the Setup Utility. For information on how to 

1. 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.

1. 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.unique_id" "**UUID of your printer**"

! U1 setvar "device.languages" "hybrid_xml_zpl"

! U1 do "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" "50"

! 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 do "device.reset" ""

 

       **NOTE: **The UUID is the SN of the printer. 

 

       **NOTE: **There are many additional variables/commands than can be set/checked depending on a specific need or configuration. Please see, [Zebra Programming Guide](https://support.zebra.com/cpws/docs/zpl/zpl_manual.pdf) 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.

 

 

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"

 

Check the Network Connection

To determine whether _[4](https://zprinters.42-q.com:9443/zebra/weblink) _is reachable from inside your network, execute the following tests.

 

1. **) Make sure that [zprinters.42-q.com](http://zprinters.42-q.com/) can be resolved.**

From a linux terminal or windows command screen run the command :

    _nslookup [zprinters.42-q.com](http://zprinters.42-q.com/)_

If executed successfully, you should see external output like the following example :

_ Server: 127.0.1.1_

_ Address: 127.0.1.1#53_

_ [zprinters.42-q.com](http://zprinters.42-q.com/) canonical name = [42qmes1.42-q.com](http://42qmes1.42-q.com/)._

_ Name: [42qmes1.42-q.com](http://42qmes1.42-q.com/)_

_ Address: 52.22.186.27_

If this output is not seen, your DNS settings must be changed to resolve this host.

 

1. **) Check the egress access of your network.**

If a telnet utility is available then run the command :

   _telnet [zprinters.42-q.com](http://zprinters.42-q.com/) 9443_

You should see a successful connection like the following example:

_ Trying 52.22.186.27..._

_ Connected to [42qmes1.42-q.com](http://42qmes1.42-q.com/)_

_ Escape character is '^]'._

_ Type "ctrl-]" and then "q" to exit_

  If telnet is not found on a windows system it can be made available with instructions from the

   following sites:

   [5](https://social.technet.microsoft.com/wiki/contents/articles/38433.windows-10-enabling-telnet-client.aspx)

              -or-

   [6](https://www.wikihow.com/Activate-Telnet-in-Windows-7)

If external access cannot be achieved, the customer may need to modify their firewall configuration for egress access to the server.

 

Helpful Links

https://www.zebra.com/us/en/support-downloads/knowledge-articles/zebra-setup-utilities--configuring-printer-settings.html