2 %% This file changes the IP Address on the Xante Accel-a-Writer
4 %%Setting the IP Address will restart the printer!!
7 %(%IP%) <</IPAddress (135.104.7.83)>> setdevparams
8 %(%IP%) <</NetworkMask (255.255.255.224)>> setdevparams
9 %(%IP%) <</BroadcastAddress (135.104.7.95)>> setdevparams
10 %(%IP%) <</GatewayAddress (0.0.0.0/135.104.7.65)>> setdevparams
11 %serverdict begin 0 exitserver
12 %systemdict /quit get exec
15 %% Print out the IP address
16 %%To print out the current IP Address, comment out the
17 %%above commands under Set The IP Address with a percent
18 %%sign. Uncomment the lines below by removing the leading % sign.
20 /Courier findfont 24 scalefont setfont
21 (%IP%) currentdevparams
27 /BroadcastAddress get show
29 /GatewayAddress get show