MSPR(1)

NAME
mspr - print spooler or save if not running

mrspr - print spooler to remote queue or save if unavailable

SYNOPSIS
mspr [ -options ] [ file ... ]

mrspr [ -options ] [ file ... ]

DESCRIPTION
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
Options are as per spr and rspr. 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 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.

FILES
~/.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)

ENVIRONMENT

SPOOLOPTS
    space-separated options to override defaults for rspr.

RSPR
    space-separated options to override defaults for mrspr.

SPRESTCONF
    location of alternative help file.

ALTSPD
    location of alternate spool directory, if not /var/spool/gnuspool_alt.

SEE ALSO
gnuspool.conf(5), gnuspool.hosts(5), rspr(1) spr(1), spsyntax(5), spshed(8), xtnetserv(8).

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

AUTHOR
John M Collins, Xi Software Ltd.