Capturing WPA & Roam Logging For A Link OS Compatible Printers

Article ID: 63798831

Issue / Question

Using the printer data capture capability with the SGD command "wlan.roam.monitor" & "wlan.wpa.debug_log".

To identify/debug wireless network dropping issue / wireless network authentication issue / wireless roaming issue.

Applicable To

QLn Series, iMZ Series, ZD Series, ZT Series Printers (Link OS compatible printers).

Resolution / Answer

1) First of all you will have to turn off the power dtr mode by sending the command below (To prevent the mobile printer restart after the USB cable been removed / unplugged ):

! U1 setvar "power.dtr_power_off" "off" <CR/LF>

2) Enabling WPA & Roam Logging :

The following SGD commands enable the wpa & roam logging on the printer

*Roam logging for mobile printer
 

! U1 setvar "wlan.roam.monitor" "file" <CR/LF>
! U1 setvar "wlan.wpa.debug_log" "on" <CR/LF>
! U1 do "device.reset" "" <CR/LF>




These commands function by enabling the logging and resetting the printer. i.e When the commands are sent to the printer, it will enable logging and reboot the printer,

When the printer has rebooted, it will start logging to a file called wpa.log on the printer. After the failed connection happens, you can gather the contents of the file via the Zebra Setup Utilities (Open Communications with Printer button).

3) Send this SGD Command to retrieve the captured file.

To turn off the capture feature send

! U1 setvar "wlan.roam.monitor" "off" <CR/LF>
! U1 setvar "wlan.wpa.debug_log" "off" <CR/LF>



The log files will be generated and stored inside the printer E: memory.

4) To read the log

Since the logs are very long and may require some time to read all the contents of one file, please do the following

i. Type the following command first and send to the printer

! U1 do "file.type" "wpa.log" <CR/LF>


ii. Replace the command above with the following command and send to printer until only one word response returns from the printer. e.g. : zpl / epl_zpl / hybrid_xml_zpl

! U1 getvar "device.languages" <CR/LF>



iii. Once you see one word responses, copy everything on the data received window and save it as WPA.txt

iv. Now type the following command and send to the printer

! U1 do "file.type" "roam.log" <CR/LF>



v. Replace the command above with the following command and send to printer until only one word response returns from the printer. e.g. : zpl / epl_zpl / hybrid_xml_zpl

! U1 getvar "device.languages" <CR/LF>


vi. Once you see one word responses, copy everything on the data received window and save it as ROAM.txt.


Additional Information

Zebra Setup Utilities -- Sending Printer Commands and Receiving Data
How to retrieve allcv from printer Read More >>
Capturing and viewing data sent to a Zebra Link OS compatible printer

+ Applicable Products

  • All Surface RFID Label Solution
  • QLn Series Healthcare Mobile Printers
  • QLn Series Mobile Printers
  • QLn220 Healthcare
  • QLn220 Mobile Printer
  • QLn320 Healthcare
  • QLn320 Mobile Printer
  • QLn420 Mobile Printer
  • ZD120
  • ZD200 Series
  • ZD220
  • ZD220 Series
  • ZD220D
  • ZD220D-HC
  • ZD220T
  • ZD220T-HC
  • ZD230
  • ZD230 Series
  • ZD230D
  • ZD230D-HC
  • ZD230T
  • ZD230T-HC
  • ZD410 Series
  • ZD410-HC
  • ZD410D
  • ZD420 Series
  • ZD420-D-T
  • ZD420-D-T-HC
  • ZD420-HC
  • ZD420C
  • ZD420D
  • ZD420D-HC
  • ZD420T
  • ZD420T-HC
  • ZD500 Desktop Printer
  • ZD500 Desktop Printer
  • ZD510-HC Wristband Printer
  • ZD600-HC
  • ZD620 Series
  • ZD620-D-T
  • ZD620-D-T-HC
  • ZD620D
  • ZD620D-HC
  • ZD620T
  • ZD620T-HC
  • ZD888 Series
  • ZD888D
  • ZD888T
  • ZD888T-HC
  • ZT200 Series Industrial Printers
  • ZT210 Industrial Printer
  • ZT220 Industrial Printer
  • ZT230 Industrial Printer
  • ZT400 Series Industrial Printers
  • ZT400 Series RFID Printers
  • ZT410 Industrial Printer
  • ZT410 RFID Industrial Printer
  • ZT411
  • ZT420 Industrial Printer
  • ZT420 RFID Industrial Printer
  • ZT421
  • ZT500 Industrial Printers
  • ZT510 Industrial Printer
  • ZT600 Series Industrial Printers
  • ZT600 Series RFID Printers
  • ZT610 Industrial Printer
  • ZT610 RFID Industrial Printer
  • ZT620 Industrial Printer
  • ZT620 RFID Industrial Printer
  • iMZ Series Mobile Printers
  • iMZ220 Mobile Printer
  • iMZ320 Mobile Printer