Skip to command documentation
Device onlynetworkdevicesession scope
^NS

Change Wired Networking Settings

^NS configures change Wired Networking Settings. 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
^NSa,b,c,d,e,f,g,h,i
a

IP resolution

Sets iP resolution. It can be omitted when the documented default is suitable.

Default
A Use of GLEANING ONLY is not recommended when the Wireless Print Server or Wireless Plus Print Serv
Required
No
Documented valuesABCDGRP

a variations

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

Side-by-side comparison3 variations

a = A

Uses A for iP resolution while the other command values stay at representative defaults.

ZPLcaret-ns-a-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

a = B

Uses B for iP resolution while the other command values stay at representative defaults.

ZPLcaret-ns-a-2.zpl
^NSB,0,0,0,0,Y,300,0,9100

a = P

Uses P for iP resolution while the other command values stay at representative defaults.

ZPLcaret-ns-a-3.zpl
^NSP,0,0,0,0,Y,300,0,9100
b

IP address

Sets iP address. It can be omitted when the documented default is suitable.

Required
No
Documented values0

b variations

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

Side-by-side comparison2 variations

b = 0

Uses 0 for iP address while the other command values stay at representative defaults.

ZPLcaret-ns-b-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

b = 1

Uses 1 for iP address while the other command values stay at representative defaults.

ZPLcaret-ns-b-2.zpl
^NSA,1,0,0,0,Y,300,0,9100
c

Subnet mask

Sets subnet mask. It can be omitted when the documented default is suitable.

Required
No
Documented values0

c variations

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

Side-by-side comparison2 variations

c = 0

Uses 0 for subnet mask while the other command values stay at representative defaults.

ZPLcaret-ns-c-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

c = 1

Uses 1 for subnet mask while the other command values stay at representative defaults.

ZPLcaret-ns-c-2.zpl
^NSA,0,1,0,0,Y,300,0,9100
d

Default gateway

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

Required
No
Documented values0

d variations

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

Side-by-side comparison2 variations

d = 0

Uses 0 for default gateway while the other command values stay at representative defaults.

ZPLcaret-ns-d-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

d = 1

Uses 1 for default gateway while the other command values stay at representative defaults.

ZPLcaret-ns-d-2.zpl
^NSA,0,0,1,0,Y,300,0,9100
e

WINS server address

Sets wINS server address. It can be omitted when the documented default is suitable.

Required
No
Documented values0

e variations

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

Side-by-side comparison2 variations

e = 0

Uses 0 for wINS server address while the other command values stay at representative defaults.

ZPLcaret-ns-e-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

e = 1

Uses 1 for wINS server address while the other command values stay at representative defaults.

ZPLcaret-ns-e-2.zpl
^NSA,0,0,0,1,Y,300,0,9100
f

Connection timeout checking

Sets connection timeout checking. It can be omitted when the documented default is suitable.

Default
Y
Required
No
Documented valuesYN

f variations

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

Side-by-side comparison2 variations

f = Y

Uses Y for connection timeout checking while the other command values stay at representative defaults.

ZPLcaret-ns-f-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

f = N

Uses N for connection timeout checking while the other command values stay at representative defaults.

ZPLcaret-ns-f-2.zpl
^NSA,0,0,0,0,N,300,0,9100
g

Timeout value

Sets timeout value. It can be omitted when the documented default is suitable.

Default
300
Range
0–9999
Required
No
Documented values30009999

g variations

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

Side-by-side comparison3 variations

g = 300

Uses 300 for timeout value while the other command values stay at representative defaults.

ZPLcaret-ns-g-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

g = 0

Uses 0 for timeout value while the other command values stay at representative defaults.

ZPLcaret-ns-g-2.zpl
^NSA,0,0,0,0,Y,0,0,9100

g = 9999

Uses 9999 for timeout value while the other command values stay at representative defaults.

ZPLcaret-ns-g-3.zpl
^NSA,0,0,0,0,Y,9999,0,9100
h

ARP broadcast interval

Sets aRP broadcast interval. It can be omitted when the documented default is suitable.

Default
0 (no ARP sent)
Range
0–30
Required
No
Documented values030

h variations

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

Side-by-side comparison2 variations

h = 0

Uses 0 for aRP broadcast interval while the other command values stay at representative defaults.

ZPLcaret-ns-h-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

h = 30

Uses 30 for aRP broadcast interval while the other command values stay at representative defaults.

ZPLcaret-ns-h-2.zpl
^NSA,0,0,0,0,Y,300,30,9100
i

Base raw port number

Sets base raw port number. It can be omitted when the documented default is suitable.

Default
9100
Range
1–65535
Required
No
Documented values9100165535

i variations

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

Side-by-side comparison3 variations

i = 9100

Uses 9100 for base raw port number while the other command values stay at representative defaults.

ZPLcaret-ns-i-1.zpl
^NSA,0,0,0,0,Y,300,0,9100

i = 1

Uses 1 for base raw port number while the other command values stay at representative defaults.

ZPLcaret-ns-i-2.zpl
^NSA,0,0,0,0,Y,300,0,1

i = 65535

Uses 65535 for base raw port number while the other command values stay at representative defaults.

ZPLcaret-ns-i-3.zpl
^NSA,0,0,0,0,Y,300,0,65535

Primary source

Official Zebra reference

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

Open Zebra documentation