09d4059621
PostScript printers. Its features are numerous, and it supports PostScript printers connected to parallel or serial ports, or over the network through AppleTalk, LanManager, LPD, and TCP/IP protocols. It accepts jobs from SMB clients (such as Microsoft Windows), Macintosh, and Unix clients. PPR is designed for PostScript printing, so it can detect PostScript errors. If the input file is not PostScript, it can pipe the input through a filter. PPR has been designed to manage large numbers of printers with minimal operator attention. Builds, installs and pkglints. For anything else, see the TODO.
27 lines
527 B
Bash
27 lines
527 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: papsrv.sh,v 1.1 2005/05/06 08:58:00 hfath Exp $
|
|
#
|
|
# PROVIDE: papsrv
|
|
# REQUIRE: DAEMON
|
|
|
|
# Old PPR pap server
|
|
# Run only if its configfile exists.
|
|
|
|
if [ -f /etc/rc.subr ]; then
|
|
. /etc/rc.subr
|
|
fi
|
|
|
|
name="papsrv"
|
|
rcvar=$name
|
|
command="@PREFIX@/libexec/ppr/bin/${name}"
|
|
required_files="@PKG_SYSCONFDIR@/ppr.conf @PKG_SYSCONFDIR@/papsrv.conf"
|
|
extra_commands="reload"
|
|
|
|
if [ -f /etc/rc.subr ]; then
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|
|
else
|
|
@ECHO@ -n " ${name}"
|
|
${command} ${papsrv_flags}
|
|
fi
|