#!/bin/sh # Parallel port CGI script # # Send HTTP headers echo Content-type: text/html;charset=ISO-8859 echo # Do the controlling /usr/sbin/lptout 0x00 # Output web page data echo "" echo "Parallel port controlled " echo "Go back to controlling page" echo "" # Place the above code in /cgi-bin/lptoff.cgi and change the reference in the calling screen, then things will work.