Skip to command documentation
Device onlynetworkdevicesession scope
^NC

Select the Primary Network Device

^NC configures select the Primary Network Device. 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
^NCa
a

Primary network device

Sets primary network device. It can be omitted when the documented default is suitable.

Default
1 must be an accepted value or it is ignored
Required
No
Documented values12

a variations

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

Side-by-side comparison2 variations

a = 1

Uses 1 for primary network device while the other command values stay at representative defaults.

ZPLcaret-nc-a-1.zpl
^NC1

a = 2

Uses 2 for primary network device while the other command values stay at representative defaults.

ZPLcaret-nc-a-2.zpl
^NC2

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.