Paso 4: Configurar interfaz de puerta de enlace para acceder a programa de control
(The instructables editor seems to hide code some times. Look at the picture for the correct code)#!/bin/sh
# Parallel port CGI script
#
# Send HTTP headers
echo Content-type: text/html;charset=ISO-8859
echo
# Do the controlling
/usr/bin/lptout 0xff
# Output web page data
echo ""
echo "Parallel port controlled
"
echo "Go back to controlling page"
echo ""
#
Haga ejecutable:
sudo chmod + x lpton.cgi