^NC - Set Primary Network Device
Names the network device the printer treats as primary.
^NC selects which network device the printer treats as primary when more
than one is fitted. Labelary's command table lists it as supported.
Neither the ZPL II Programming Guide edition held here (45541L-004, 2006) nor
Labelary's own command reference documents it. This page therefore states no
argument list rather than a guess. ^NC and ~NC are unrelated commands: ~NC
addresses a printer on an RS-485 multi-drop network.
Syntax
^NC…Support
Accepted and skipped, because it configures the printer rather than the label. It cannot change the rendered output, and Labelary skips it too.
Selects which network interface carries print jobs. 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
…Primary network devicerequired · textWhich interface to prefer. The closest documented analog is the device argument of ^KC, which distinguishes the wireless, external wired and internal wired devices. No available reference states the values ^NC accepts.
- Invalid value
- not documented, and we have not measured it. Neither the ZPL II Programming Guide (45541L-004, 2006) nor Labelary's command reference documents this command. Its argument list, ranges and defaults therefore stay unstated rather than a guess.
- Test coverage
Behavior
No available reference gives the argument list, so the syntax line above
carries a placeholder instead of named parameters. The closest documented
analogue is the device argument of ^KC, which distinguishes the wireless,
external wired and internal wired devices. That argument belongs to ^KC and
is not evidence about this one.
Which interface a printer prefers cannot change a label image.
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
Whatever arguments are supplied, the label renders as though the command were absent:
^XA
^NC1
^FO40,60^A0N,50,50^FDPrimary device^FS
^XZ
Related commands
^NPSet Primary/Secondary DeviceChooses whether the printer uses its own LAN settings or the print server's at boot.^NBSearch for Wired Print Server during Network BootDecides whether the printer looks for a wired print server at boot, or defaults to the wireless one.^KCSet DHCP Client IdentifierChooses the client identifier a network device sends with its DHCP requests.~NCNetwork ConnectWakes one printer on an RS-485 multi-drop network by calling its network ID number.