Skip to command documentation
Device onlynetworkdevicesession scope
^NN

Set SNMP

^NN configures set SNMP. 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
^NNa,b,c,d,e,f
a

System name

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

Required
No
Documented valuesOBJECT

a variations

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

Side-by-side comparison2 variations

a = OBJECT

Uses OBJECT for system name while the other command values stay at representative defaults.

ZPLcaret-nn-a-1.zpl
^NNOBJECT,0,0,OBJECT,OBJECT,OBJECT

a = EXAMPLE

Uses EXAMPLE for system name while the other command values stay at representative defaults.

ZPLcaret-nn-a-2.zpl
^NNEXAMPLE,0,0,OBJECT,OBJECT,OBJECT
b

System contact

Sets system contact. 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 system contact while the other command values stay at representative defaults.

ZPLcaret-nn-b-1.zpl
^NNOBJECT,0,0,OBJECT,OBJECT,OBJECT

b = 1

Uses 1 for system contact while the other command values stay at representative defaults.

ZPLcaret-nn-b-2.zpl
^NNOBJECT,1,0,OBJECT,OBJECT,OBJECT
c

System location

Sets system location. 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 system location while the other command values stay at representative defaults.

ZPLcaret-nn-c-1.zpl
^NNOBJECT,0,0,OBJECT,OBJECT,OBJECT

c = 1

Uses 1 for system location while the other command values stay at representative defaults.

ZPLcaret-nn-c-2.zpl
^NNOBJECT,0,1,OBJECT,OBJECT,OBJECT
d

Get community name

Sets get community name. It can be omitted when the documented default is suitable.

Default
public
Required
No
Documented valuesOBJECT

d variations

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

Side-by-side comparison2 variations

d = OBJECT

Uses OBJECT for get community name while the other command values stay at representative defaults.

ZPLcaret-nn-d-1.zpl
^NNOBJECT,0,0,OBJECT,OBJECT,OBJECT

d = EXAMPLE

Uses EXAMPLE for get community name while the other command values stay at representative defaults.

ZPLcaret-nn-d-2.zpl
^NNOBJECT,0,0,EXAMPLE,OBJECT,OBJECT
e

Set community name

Sets set community name. It can be omitted when the documented default is suitable.

Default
public
Required
No
Documented valuesOBJECT

e variations

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

Side-by-side comparison2 variations

e = OBJECT

Uses OBJECT for set community name while the other command values stay at representative defaults.

ZPLcaret-nn-e-1.zpl
^NNOBJECT,0,0,OBJECT,OBJECT,OBJECT

e = EXAMPLE

Uses EXAMPLE for set community name while the other command values stay at representative defaults.

ZPLcaret-nn-e-2.zpl
^NNOBJECT,0,0,OBJECT,EXAMPLE,OBJECT
f

Trap community name

Sets trap community name. It can be omitted when the documented default is suitable.

Default
public
Required
No
Documented valuesOBJECT

f variations

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

Side-by-side comparison2 variations

f = OBJECT

Uses OBJECT for trap community name while the other command values stay at representative defaults.

ZPLcaret-nn-f-1.zpl
^NNOBJECT,0,0,OBJECT,OBJECT,OBJECT

f = EXAMPLE

Uses EXAMPLE for trap community name while the other command values stay at representative defaults.

ZPLcaret-nn-f-2.zpl
^NNOBJECT,0,0,OBJECT,OBJECT,EXAMPLE

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.