From 13f7391e4a38634221f4a63da9f58f58473e77b0 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 15 May 2004 23:45:13 +0000 Subject: More files! --- postscript/prologues/set_ip.ps | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 postscript/prologues/set_ip.ps (limited to 'postscript/prologues/set_ip.ps') diff --git a/postscript/prologues/set_ip.ps b/postscript/prologues/set_ip.ps new file mode 100644 index 00000000..55c2e12d --- /dev/null +++ b/postscript/prologues/set_ip.ps @@ -0,0 +1,30 @@ +%!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%) <> setdevparams +%(%IP%) <> setdevparams +%(%IP%) <> setdevparams +%(%IP%) <> 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 \ No newline at end of file -- cgit v1.2.3