/usr/share/doc/mpage/Contrib/psprint is in mpage 2.5.6+dfsg-1.
This file is owned by root:root, with mode 0o644.
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 | #!/bin/sh -
STDIN_TMP_FILE=/tmp/psprint.$$
GS=/usr/local/bin/gs
GSLIB=/usr/local/lib/ghostscript/3.53
#
# define print command (SYSV or BSD ish)
# PRINT="lp -or -s"
PRINT=lpr
if [ $# -eq 0 ]; then
cat > "${STDIN_TMP_FILE}"
set "${STDIN_TMP_FILE}"
fi
for i in $* ; do
${GS} -sDEVICE=ljet4 -r600 -sOutputFile="|${PRINT}" -q -DNOPAUSE "$i" \
${GSLIB}/quit.ps
done
rm -f "${STDIN_TMP_FILE}"
exit 0
|