Zebra label printers ZPL (! U1) terminal commands

Zebra

Industrial printers ZT410, ZT420
Desktop printers ZD420, ZD62
Mobile printers QLn320, QLn420, ZQ320, ZQ510, ZQ520

Set print mode

ZPL mode

! U1 setvar "device.languages" "zpl"
! U1 getvar "device.languages"

Line print mode

! U1 setvar "device.languages" "line_print"
! U1 getvar "device.languages"

 

Calibration (mobile printers):

Gap Media

! U1 setvar "media.type" "label"
! U1 setvar "media.sense_mode" "gap"
~jc^xa^jus^xz

Black Mark Media

! U1 setvar "media.type" "label"
! U1 setvar "media.sense_mode" "bar"
~jc^xa^jus^xz

Journal (continuous) Media:

! U1 setvar "media.type" "journal"

Bluetooth printing:

! U1 do "device.restore_defaults" "bluetooth"
! U1 do "bluetooth.clear_bonding_cache"
! U1 setvar "bluetooth.enable" "on"
! U1 setvar "bluetooth.discoverable" "on"
! U1 setvar "bluetooth.minimum_security_mode" "1"
! U1 setvar "bluetooth.bonding" "on"
! U1 setvar "bluetooth.enable_reconnect" "iOS_only"
! U1 setvar "bluetooth.allow_non_display_numeric_comparison" "print"
! U1 setvar "bluetooth.le.controller_mode" "both"
! U1 do "device.reset" ""

Factory defaults:

! U1 do "device.restore_defaults" "bluetooth"
! U1 do "device.restore_defaults" "ip"
! U1 do "device.restore_defaults" "wlan"
! U1 do "device.restore_defaults" "power"
! U1 do "device.restore_defaults" "display"

Defaulting the settings on a Zebra Mobile Printers including QLn, iMZ- Series, ZQ500 Series:

^XA^JUF^XZ^XA^JUN^XZ^XA^JUS^XZ

Enable sleeep mode and timeout settings (seconds):

! U1 setvar "power.sleep.mode" "on"
! U1 setvar "power.sleep.timeout" "7200"
! U1 setvar "power.inactivity_timeout" "7200"
! U1 getvar "power.sleep.timeout"
! U1 getvar "power.inactivity_timeout"

Disable sleep mode:

! U1 setvar “power.sleep.enable” “off”

WLAN Power save off:

! U1 setvar "wlan.power_save" "off"

ZT series printer label counter:

! U1 setvar "display.batch_counter" "enabled"
! U1 getvar "display.batch_counter"

Wireless Zebra printer experiencing wireless connectivity issues:

! U1 setvar "wlan.keep_alive.enable" "on"

Roaming reconnect (CISCO devices):

! U1 setvar "ip.roam_packet" "on"

Country Code Not Selected fault on the display:

! U1 setvar "wlan.country_code" "europe"

%d bloggers like this: