mspr - print spooler or save if not running
mrspr - print spooler to remote queue or save if unavailable
mspr [ -options ] [ file ... ]
mrspr [ -options ] [ file ... ]
mspr either queues up one or more print jobs for the GNUspool
spooler using spr(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.
mrspr queues up one or more print jobs to a remote queue running
the GNUspool spooler using rspr(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 are as per spr and rspr. If the job can be queued immediately, these programs are directly invoked.
An exit code of zero is returned if the job or jobs are successfully
queued using spr(1)
or rspr(1)
or successfully saved in the alternate
directory. Any non-zero exit code from spr(1)
or rspr(1)
will be
passed back to the user. Standard exit codes and error messages are
displayed if the files cannot be opened or saved.
~/.gnuspool configuration file (home directory)
.gnuspool configuration file (current directory)
rest.help message file
/var/spool/gnuspool_alt/CMDF* command file (shell script)
/var/spool/gnuspool_alt/ASPF* data file (contents of job)
space-separated options to override defaults for rspr.
space-separated options to override defaults for mrspr.
location of alternative help file.
location of alternate spool directory, if not /var/spool/gnuspool_alt.
gnuspool.conf(5),
gnuspool.hosts(5),
rspr(1)
spr(1),
spsyntax(5),
spshed(8),
xtnetserv(8).
Various diagnostics are read and printed as required from the message file, by default rest.help.
John M Collins, Xi Software Ltd.