GSPL-MPR(1)

NAME
gsl-mpr - print spooler or save if not running

gspl-mrpr - print spooler to remote queue or save if unavailable

SYNOPSIS
gsl-mpr [ -options ] [ file ... ]

gspl-mrpr [ -options ] [ file ... ]

DESCRIPTION
gsl-mpr either queues up one or more print jobs for the GNUspool spooler using gspl-pr(1) if it is running, or else places a series of files in an alternative spool directory, such that when run as shell scripts when the GNUspool spooler process spshed(8) is running, the jobs are queued as originally specified.

gspl-mrpr queues up one or more print jobs to a remote queue running the GNUspool spooler using gspl-rpr(1) if it is available, or otherwise places a series of files in an alternative spool directory for queueing when the remote machine is available.

OPTIONS
Options are as per gspl-pr and gspl-rpr. If the job can be queued immediately, these programs are directly invoked.

EXIT CODES
An exit code of zero is returned if the job or jobs are successfully queued using gspl-pr(1) or gspl-rpr(1) or successfully saved in the alternate directory. Any non-zero exit code from gspl-pr(1) or gspl-rpr(1) will be passed back to the user. Standard exit codes and error messages are displayed if the files cannot be opened or saved.

FILES
~/.gnuspool configuration file (home directory)

.gnuspool configuration file (current directory)

rest.help message file

gnuspool_alt/CMDF* command file (shell script)

gnuspool_alt/ASPF* data file (contents of job)

ENVIRONMENT

GSPL_PR
    space-separated options to override defaults for gspl-pr.

GSPL_RPR
    space-separated options to override defaults for gspl-mrpr.

SPRESTCONF
    location of alternative help file.

ALTSPD
    location of alternate spool directory.

SEE ALSO
gnuspool.conf(5), gnuspool.hosts(5), gspl-rpr(1) gspl-pr(1), spsyntax(5), spshed(8), xtnetserv(8).

DIAGNOSTICS
Various diagnostics are read and printed as required from the message file, by default rest.help.

COPYRIGHT
Copyright (c) 2009 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.

AUTHOR
John M Collins, Xi Software Ltd.