Lan set commands, Na,function[,p1] – setup smtp, Nl[,trapip,community] – setup snmp – GoDEX EZPL User Manual

Page 63: Nl,enable,n –enable or disable snmp

Advertising
background image

58

LAN Set Commands

^NA,function[,p1] – setup SMTP

Syntax

^NA,function[,p1]

Parameter

Function = ENABLE: without “p1”, it wills response SMTP enables or disables status.

With “p1”. P1 = 0 disable SMTP , = 1 enable SMTP

USER : without “p1”, it will response USER string ( login SMTP server account )

with “p1” = setup USER string

Ex. ^NA,USER,godex

PASS : without “p1”, it will response PASSWORD

with “p1” = setup PASSWORD 4 digits ( login SMTP server password )

Ex. ^NA,PASS,0000

IP : without “p1”, it will response SMTP IP address

with “p1” = setup SMTP IP address

Ex. ^NA,IP,192.168.0.1

SUBJECT : without “p1”, it will response e-mail subject

with “p1” = setup e-mail subject

Ex. ^NA,SUBJECT,error message

FROM : without “p1”, it will response e-mail sender address

with “p1” = setup e-mail sender address

Ex. ^NA,FROM,[email protected]

TO : without “p1”, it will response e-mail receiver address

with “p1” = setup e-mail receiver address

Ex. ^NA,TO,[email protected]

Description

Refer to above Parameter explanation.

Example

Procedure :

PC to Printer ^NA,USER
Printer to PC

godex

PC to Printer ^NA,SUBJECT
Printer to PC

errormessage

^NL[,TrapIP,Community] – setup SNMP

Syntax

^NL,TrapIP,Community

Parameter

Without “TrapIP,Community”, it will response SNMP setting

With “TrapIP,Community” = setup SNMP

Description

Setup SNMP or check SNMP setting

Example

Procedure :

PC to Printer ^NL
Printer to PC

192.168.0.1,public

^NL,ENABLE,n –enable or disable SNMP

Syntax

^NL,ENABLE,n

Parameter

= 0 disable ; = 1 enable this function

Description

Without “n”, it will response the status of SNMP (enable or disable)

With “n” = setup SNMP enable or disable

Example

None

Advertising