blob: 55c2e12d7cdde8db49e1e6b089ce8bbe5184dda2 [file] [log] [blame]
%!PS-Adobe-3.0
%% This file changes the IP Address on the Xante Accel-a-Writer
%%Setting the IP Address will restart the printer!!
%%Set The IP Address
%(%IP%) <</IPAddress (135.104.7.83)>> setdevparams
%(%IP%) <</NetworkMask (255.255.255.224)>> setdevparams
%(%IP%) <</BroadcastAddress (135.104.7.95)>> setdevparams
%(%IP%) <</GatewayAddress (0.0.0.0/135.104.7.65)>> setdevparams
%serverdict begin 0 exitserver
%systemdict /quit get exec
%% Print out the IP address
%%To print out the current IP Address, comment out the
%%above commands under Set The IP Address with a percent
%%sign. Uncomment the lines below by removing the leading % sign.
/Courier findfont 24 scalefont setfont
(%IP%) currentdevparams
72 72 moveto
/IPAddress get show
72 144 moveto
/NetworkMask get show
72 216 moveto
/BroadcastAddress get show
72 288 moveto
/GatewayAddress get show
showpage