SGD Printer Settings
ip.active_network
186
14245L-003 Rev. A EPL Programming Guide 12/16/13
ip.active_network
Description This command displays if the printer is actively connected to wireless, external
wired, or internal wired. For printer support, see SGD Command Support on page 315.
Type getvar
This table identifies the commands for this format:
Note • For details on SGD command structure, see Command Structure on page 638.
Commands Details
getvar
This command instructs the printer to respond with what the printer is
currently connected to internal wired, wireless, external wired, or
unknown. Table 4 provides details on the potential return values.
Format: ! U1 getvar "ip.active_network"
Example • In this example, the getvar will return the current active network the printer is
connected to.
! U1 getvar "ip.active_network"
Table 4 • Printer Responses
Return Values Details
“internal wired” This is the return value when an internal wired device is detected.
“wireless” This is the return value when a wireless device is detected.
“external wired” This is the return value when an external wired device is detected.
“unknown” This is the return value:
• if the printer has not established a network connection on any of
the devices
• if you don't have any of the network devices plugged in
• if the printer is still trying to establish a connection (i.e. on
wireless it is going through the association process).