zpl.tools
Network and wireless

^WA - Set Antenna Parameters

Selects which physical antenna the radio receives and transmits on.

^WA chooses which physical antenna the wireless card receives on and which it transmits on, independently. Both default to D, diversity, where the card picks between the two antennas itself. L or R pins the card to one antenna, which a printer with only one antenna connected needs.

Syntax

^WAa,b

Support

Recognised, deliberately skippedparsed: none · state: none · rendered: none

Accepted and skipped, because it configures the printer rather than the label. It cannot change the rendered output, and Labelary skips it too.

Radio hardware selection. This service has no radio and no antenna. The renderer does not parse this command. It reports IGNORED_COMMAND at info severity, which does not reach X-Warnings. Labelary is also silent, so the rendered label is identical in both engines. — not pinned by a test

Labelary renders this command.

Parameters

aReceive antennaoptional · one of a set

Antenna used for reception.

Default
D
Invalid value
not documented, and we have not measured it. The renderer does not parse or measure this command.
Test coverage
No documented value is exercised by a test (D, L, R).
D
Diversity (default)
L
Left
R
Right
bTransmit antennaoptional · one of a set

Antenna used for transmission.

Default
D
Invalid value
not documented, and we have not measured it. The renderer does not parse or measure this command.
Test coverage
No documented value is exercised by a test (D, L, R).
D
Diversity (default)
L
Left
R
Right

Behavior

Receive and transmit are separate arguments and can differ. This is radio hardware configuration, with no relationship to a format.

The renderer ignores this command and reads no arguments. It reports IGNORED_COMMAND at info severity, which does not reach the X-Warnings header. Labelary is also silent, so the rendered label is identical in both engines.

Example

Diversity on both antennas, which is also the default:

^XA
^WAD,D
^FO40,60^A0N,50,50^FDAntenna diversity^FS
^XZ

Open in viewer