Please see this


Contents

- INDEX
- HP-UX Index
- Solaris
- Linux Index
- Other Unix types
- General Unix
- Unix Networking
- Unix Scripts
- Unix databases

Associated Information

- Unix Scripts Tips

Useful Links

- Bash shell HOWTO
- Bourne Shell Man Page
- C Shell Guide
- Korn Shell Resources

ljdisplay.sh

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

Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries