Skip to command documentation
Device onlyprinterdevicesession scope
~WQ

Write Query

~WQ configures write Query. It applies to the printer session and subsequent formats and controls printer hardware or connectivity rather than label pixels.

ZPLr compatibility note

  • Recognized by the renderer but has no label-raster effect.

These are code examples only. This printer or session command does not produce a standalone label image.

Syntax
~WQquery-type
query-type

Query type

Sets query type. It can be omitted when the documented default is suitable.

Default
must be an accepted value or the command is ignored
Required
No
Documented valuesESHAJTMAMIODPHPPSNUI

query-type variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

query-type = ES

Uses ES for query type while the other command values stay at representative defaults.

ZPLtilde-wq-query-type-1.zpl
~WQES

query-type = HA

Uses HA for query type while the other command values stay at representative defaults.

ZPLtilde-wq-query-type-2.zpl
~WQHA

query-type = UI

Uses UI for query type while the other command values stay at representative defaults.

ZPLtilde-wq-query-type-3.zpl
~WQUI

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.