#! /bin/csh

if ( $#argv != 1 ) then
  echo "PRINT_CELLS_DOC needs to know the printer device you are using"
  echo "ie:"
  echo "$ PRINT_CELLS_DOC sparc"
  echo "if your printer is named sparc."
  exit
endif
# miscellaneous
cd CELLS
foreach i (`ls -1r`)
echo $i
lpr -P$1 -h $i
end
cd ..
lpr -P$1 TOOLS/reverse/sclib_r.ps
lpr -P$1 COVERPAGE/sclib.ps
lpr -P$1 TOOLS/reverse/padlib_r.ps
lpr -P$1 COVERPAGE/padlib.ps
