Skip to content

Instantly share code, notes, and snippets.

@phaseOne
Created March 3, 2022 18:47
Show Gist options
  • Save phaseOne/51d8dd5ab9e3941f9b597649e6609ab7 to your computer and use it in GitHub Desktop.
Save phaseOne/51d8dd5ab9e3941f9b597649e6609ab7 to your computer and use it in GitHub Desktop.
Walmart / Sams Club ZD620 Recovery Commands

ZD620 Configuration

ZD620 and ZD420 Users Guide (en)
Zebra Setup Utilities: Sending Printer Commands and Receiving Data
Zebra Programming Guide

Use default WML

To restore the factory Zebra menus, you need to set display.root_wml property to its default and delete the custom WMINDEX.WML file. See Zebra Setup Utilities: Sending Printer Commands and Receiving Data for how to communicate with the printer. If you want, you can also use the ZSU to backup the WMINDEX.WML file before deleting it. There are likely a number of other WML custom files (and NRD files) on the printer. You can either leave those there (works fine) or delete them as well.

ZT600 Series index.wml Not Functioning | Zebra
Restoring the Default Display on a QLn Printer | Zebra

! U1 setvar "display.root_wml" "Z:INDEXCOLOR.WML"

! U1 do "file.delete" "E:WMINDEX.WML"

You can check that the display.root_wml command applied thusly:

! U1 getvar "display.root_wml"

Note the extra line after each set-get-do (SGD) command. For the printer to respond, SGD commands must be terminated by a carriage return or a space and line feed, and the command, attributes, and values must be specified in lower case. The full set of commands and additional information can be found in the Zebra Programming Guide.

More on WML files

These custom menus are built using WML files, which are like XML/HTML pages. It's actually kinda cool that the printers are capable of this level of customization.

Set WiFi Region

COUNTRY CODE NOT SELECTED error message is displayed | Zebra

Doesn't seem to stick... you can skip this.

! U1 setvar "wlan.country_code" "usa/canada"

! U1 setvar "wlan.region_code" "usa/canada"

I haven't been able to get the COUNTRY CODE NOT SELECTED message to go away, even after setting the wlan.country_code, wlan.region_code, wlan.international_mode to off, and wlan.allowed_band to all. The settings simply do not stick. These units seem to have special firmware that keeps the WiFi card in an unlocked mode to work in any geographic region. Having said that, they still seem to work on WiFi just fine. Just ignore the message. If you really want it to go away, you might be able to create your own WML page.

Power On Reset

~JR

Web Interface Credentials

Username: admin Password: 1234

syslog

! U1 setvar "device.syslog.configuration" "debug,local"

! U1 setvar "device.syslog.enable" "on"

Other Docs

Zebra Weblink is a component that allows you to communicate with the printer via a Websocket.



~PM Decommissioning Mode

Set up WiFi

^XA
^WIA
^NC2
^NPP
^KC1,0,,
^NNINSERT_DEVICE_NAME_HERE
^WAD,D
^WEOFF,1,,,,,,
^WP0,0
^WR,,,,100
^WSINSERT_SSID_HERE,I,L,,,
^NBS
^WLOFF,,
^WKOFF,,,,
^WX09,INSERT_PSK_HERE
^XZ
^XA
^JUS
^XZ
! U1 setvar "wlan.international_mode" "off"
! U1 setvar "wlan.allowed_band" "all"
! U1 setvar "wlan.enable" "on"
  • ^WIA For the external wired print server settings, the ^ND command is the same as the ^NS command. For the wireless print server settings, the ^ND command is the same as the ^WI command.
  • ^NC2 sets primary network device to wireless
  • ^NPP Use this command to specify to use the printer’s, rather than the inserted print server’s, LAN/WLAN settings at boot time.
  • ^KC1,0,, sets the Option 61 setting to: param 1 1 enabled, use mac address; param 2 0 for all NICs
  • ^NNINSERT_DEVICE_NAME_HERE sets the SNMP settings. First param sets the printer name (up to 17 alphanumeric chars).
  • ^WAD,D sets the param 1 receive and param 2 transmit antennae to diversity
  • ^WEOFF,1,,,,,, disables WEP, but also sets the encryption key to slot 1
  • ^WP0,0 sets the wireless password to 0000 which means that you do not need to enter the wireless password through the controlpanel to view or modify wireless settings.
  • ^WR,,,,100 sets transmit power to 100. Can also enable/disable transmit rates with this command
  • ^WSINSERT_SSID_HERE,I,L,,, sets the ESSID, operating mode to Infrastructure, preamble to long.
  • ^NBS instructs the printer to skip the check for a wired print server during network boot.
  • ^WLOFF,, disables Cisco LEAP
  • ^WKOFF,,,, ???
  • ^WX09,INSERT_PSK_HERE sets the security type to WPA PSK, and sets the PSK (64 hex encoding only)
  • ^JUS saves the current settings to EEPROM
@Lightja
Copy link

Lightja commented Apr 12, 2024

@thauch I looked back at the allcv and it looks like I typo'd in my original message. I put 'enabled' when it should be 'enable'

I updated the original message, thanks for pointing that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment