#!/usr/bin/sh
#
# Display a text message on LaserJet 3Si and higher with
# an alphanumeric display
#
if [ $# -lt 2 ]
then
echo
echo "Usage: ljdisplay "
echo
exit 1
fi
PRINTER=$1
shift
echo "%-12345X@PJL RDYMSG DISPLAY = \"$@\"" | lp -d$PRINTER -oraw -onb
#### END OF SCRIPT