/usr/bin/lpr is in gnuspool 1.7ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #! /bin/sh
prefix="/usr"
exec_prefix="${prefix}"
bindir="${exec_prefix}/bin"
sbindir="${exec_prefix}/sbin"
remq=-q
copies=1
dest=
set -- `getopt EP:#:CJTlopr "$@"`
while :
do
arg=$1
shift
case "$arg" in
--)
break;;
-[CJTLop])
:;;
-#)
copies=$1
shift;;
-P)
dest=$1
shift;;
-r)
remq=
;;
*)
break;;
esac
done
if test -n "$dest"
then dest="-P $dest"
fi
exec $bindir/gspl-pr $dest -c $copies $remq "$@"
|