ftp.nice.ch/pub/next/unix/network/system/samba.1.9.18p10.3.s.tar.gz#/samba-1.9.18p10/packaging/SGI/mkprintcap.sh

This is mkprintcap.sh in view mode; [Download] [Up]

#! /bin/sh
#
# create printcap file
#
if [ -r /usr/samba/printcap ]
then
  cp /usr/samba/printcap /usr/samba/printcap.O
fi

echo "#" > /usr/samba/printcap
echo "# Samba printcap file" >> /usr/samba/printcap
echo "# Alias names are separated by |, any name with spaces is taken as a comment" >> /usr/samba/printcap
echo "#" >> /usr/samba/printcap
lpstat -a | sed -e "s/ .*//" >> /usr/samba/printcap

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.