#!/bin/sh echo "Content-type: text/html" echo "Status: 200" echo "" #HEAD=" # # # # Thomas Eirich, # 23.11.93 #
" HEAD=`/proj/i4/bin/mkhtml ++arrows -home -flag +up /Services/Info/Drucken/ +person roessler -onlyheader` case "$QUERY_STRING" in printer=*) printer=`echo "$QUERY_STRING" | sed -e 's/^printer=//'` /proj/i4/bin/mkhtml ++arrows -home -flag +up /Services/Info/Drucken/ \ +person roessler -onlyheader +title "$printer: Printer status" cat <<-EOT
`/local/lpd/bin/lpq -P$printer`