Blob


1 %!PS-Adobe-3.0
2 %% This file changes the IP Address on the Xante Accel-a-Writer
4 %%Setting the IP Address will restart the printer!!
6 %%Set The IP Address
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
22 72 72 moveto
23 /IPAddress get show
24 72 144 moveto
25 /NetworkMask get show
26 72 216 moveto
27 /BroadcastAddress get show
28 72 288 moveto
29 /GatewayAddress get show
30 showpage