windex Tahoma Technology (formerly Ikon Corporation) 2819 Elliott Avenue, Suite 203 Seattle, WA, USA, 98121 206.728.6465 http://www.tahomatech.com tahoma@tahomatech.com 4 January, 2007 BETA release 19 March, 2007 correct useage example change getopt to getcmdopt to avoid compiler warning 25 March, 2007 additional correction to "usage" and change internal spelling to "usage" 16 January, 2012 updated to add SEH print server support added port option typically use port 9900 for Axis, 9100 for SEH Windex is a simple command line utility that can be used to test and exercise a Tahoma Technology 10121 Ethernet/VPI converter - or a Tahoma Technology 10120 IEEE 1284/VPI converter combined with an Axis or SEH network print server - and an attached plotter. Windex can output pre-formatted print and/or plot files (if available), manipulate plotter modes, send pulsed commands, and set converter parameters such as handshake speed. Data bytes and strings may also be sent directly from the keyboard. The program supports the Tahoma converter escape sequences used to allow passing VPI (Versatec Parallel Interface) data and commands to a plotter via a network. The curent version of windex is "output only". It is not capable of reading back converter or plotter status. Further, it has no way of probing for a network-attached print server. It is necessary to determine the server's IP address by other means: examining the DHCP server's client list, using a "ping scanner" or by simply noting the server's address when it is set at install time. This version of windex has been built and tested on the following platforms: Windows XP, Solaris 10 & 11, and 32 and 64 bit versions of Linux. Pre-compiled executables are available (it may be necessary to set the "executable" flag on downloaded unix binaries), or the source may be compiled on the target host. The compilers used were bcc32 on XP, gcc on Linux, and Sunstudio cc on Solaris. It is necessary to inform the compilation which platform is in use: Windows: bcc32 -D_WINBUILD_ windex.c Linux: cc -o windex -D_LINBUILD_ windex.c Solaris: cc -o windex -D_SOLBUILD_ -lsocket -lnsl windex.c It may be necessary to run the source files through dos2unix before compiling on a unix platform. The original source files use CR/LF as a line terminator. Windex is self documenting. Type windex (in Windows) or ./windex (in Unix) for a list of options and commands.