Zebra Technologies P1058563-003 User Manual

Page of 90
75
WebLink Set/Get/Do Commands
weblink.ip.conn[1|2].proxy
10/31/13
P1058563-003 
weblink.ip.conn[1|2].proxy
Description   This command assigns the URL of the proxy for the connection. 
The proxy server protocol, port, domain, username, and password are all encoded into the 
URL via the format outlined in RFC2396 (http://www.ietf.org/rfc/rfc2396.txt).
The username and password must avoid the invalid characters listed in RFC2396 (e.g. ':', '@', 
'/', etc). If an invalid character must be used it needs to be escaped using '%' as described in 
RFC2396.
^JUF, ^JUS, ^JUN, ^JUA
, and 
device.restore_defaults
 do not have any affect on this 
setting.
Supported Devices   
• iMZ 220™, iMZ 320™
• QLn220™, QLn320™, QLn420™
• ZT210™, ZT220™, ZT230™
Type   
setvar, getvar, do
Commands
Details
setvar
This command assigns the URL of the connection proxy.
Format: 
! U1 setvar "weblink.ip.conn1.proxy" "url"
! U1 setvar "weblink.ip.conn2.proxy" "url"
Values: 
Any valid URL up to 2048 characters
Expected URL format: [http|https]://[user:pass@]domain[:port]/[path]
The URL will need to be built according to the server/proxy environment the printer is 
running within.
Default: 
"" 
The user:pass, port, and path are all optional. 
The default scheme must be either 
HTTPS
 or 
HTTP
. The default is 
HTTP
.
The default port is 1080. 
The default is to omit the username and password.
getvar
This command retrieves the URL of the connection proxy.
Format: 
! U1 getvar "weblink.ip.conn1.proxy"
! U1 getvar "weblink.ip.conn2.proxy"