#!/bin/sh
#
#  @(#)lpqall 1.2 91/04/15
#
#  Copyright (c) Steve Kinzler - April 1991.
#
#  Permission is given to distribute these sources, as long as the
#  copyright messages are not removed, and no monies are exchanged.
#
#  No responsibility is taken for any errors on inaccuracies inherent
#  either to the comments or the code of this program, but if reported
#  to me, then an attempt will be made to fix them.

# lpqall - run lpq for all printers

# Customize the table for the printers at your site.

trap continue 2
while read printer room
do
	echo
	echo "$printer in $room:"
	lpq -P$printer
done << %
label mem222
lp1 mem020e
ps1 mem020e
ps2 beck
ps3 1103atwate
ps4 mem020e
ps5 mem222
ps6 1103atwate
ps7 801east9
ps12 mem222
%
