Zebra Technologies P1071336-002 Manuale Utente

Pagina di 70
55
WebLink Set/Get/Do Commands
weblink.ip.conn[1|2].proxy
1/20/15
P1071336-002 
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"