#!/bin/bash # Create Liu printers. # For RedHat 6.2. # (C) (GPL) Peter Åstrand , 2000 BASE=/var/spool/lpd create_dir () { mkdir $BASE/$1 chown root.lp $BASE/$1 cp /usr/lib/rhs/rhs-printfilters/master-filter $BASE/$1 cat > $BASE/$1/general.cfg < $BASE/$1/postscript.cfg < $BASE/$1/textonly.cfg <