Datamax-O'Neil DPL Programmer’s Manual User Manual
Page 81

Extended System-Level Command Functions
73
DNS Settings
#
Ezprint
Name
Value Type
Description
1 CTC:SDNS:Y|N
Enable
Static DNS
String – 1
char long
Using Static DNS or not. Default value is “N”.
2
CTC:DNS1:***.***.***.***
Preferred DNS Server
IP4 string
format
IP address for preferred DNS server
3
CTC:DNS2:***.***.***.***
Secondary DNS Server
IP4 string
format
IP address for secondary DNS server
4
CTC:DSUF:
DNS Suffix
String
64 characters string + 1 NULL terminated character
Network Settings
#
Ezprint
Name
Value Type
Description
20 CTC:I2:
Inactive
Timeout
Unsigned
short
Current connection will terminated if no network traffic
after a specific interval. Default value is 30 seconds
21 CTC:D:N|B|Y
IP
address method
Unsigned
char
N: use static IP address
B: BootB enable
Y:DHCP enable
22 CTC:I:xxx.xxx.xxx.xxx
Active IP address (READ ONLY)
String
This field is holding the value of the current active IP
address. As the result of the query request:
1. If “IP address method” is set to “use static IP
address”, this field will hold the value of “Static IP
address”.
2. Otherwise, it will hold the value of the current active
IP address.
This field is using for reporting only. In order to set the
value for static IP address, use item number 32.
23
CTC:M:xxx.xxx.xxx.xxx
Active Subnet mask (READ
ONLY)
String
This field is holding the value of current active Subnet mask
address.
As the result of the query request:
1. If “IP address method” is set to “use static Subnet
mask address”, this field will hold the value of “Static
Subnet mask address”.
2. Otherwise, it will hold the value of the current active
Subnet mask address.
This field is using for reporting only. In order to set the
value for static Subnet mask address, use item number 33.