Communicating Directly with a Printer
Use the printer communication terminal to send SGD, ZPL, or JSON commands directly to your printers. These commands can configure printer settings, check current printer settings, and trigger an action on a printer. Use this terminal to create or copy in a set of commands to set up your printers, to perform tasks on specific devices, or to troubleshoot issues.
For information about the commands used here, see Zebra Printer Commands.
The printer communication terminal has the following areas:
Enter commands in the entry box, then click Send to Printer. Accepted command types are SGD, ZPL, and JSON. For information about these commands, see Zebra Printer Commands.
Shows a history of commands you have sent to the printer during this session. Click Export to save a .TXT file of the history.
Shows the printer's responses to sent commands. Click Export to save a .TXT file of the history.
•To retrieve device logs, enter:
! U1 getvar "weblink.logging"
•To see what files are on the device, enter:
! U1 getvar "file.dir"
•To see a list of data that can be accessed on the device, enter:
! U1 getvar "allcv"
•To reset a device, enter:
! U1 do "device.reset" ""
The printer device server certificate includes a valid date range. If the date and time on a printer is inaccurate and outside of that range, it won't connect to the printer device server.
•To check the date and time on the printer, enter:
! U1 getvar "rtc.time"
! U1 getvar "rtc.date"
•To set the date and time on the printer, enter:
! U1 setvar "rtc.time" "XX:XX:XX"
! U1 setvar "rtc.date" "XX-XX-XXXX"