NAME
flpr, flpq, flpk - Fermilab version of lpr/lpd programs
SYNOPSIS
flpr [[-hhost] [-qqueue]|[-Pprinter]] [-llogin] [-jjobname] [-cclassname]
[-ufullname] [-iindent] [-wwidth] [-nnotify] [-C] [-V[V]] [-v] [-\?] [-E]
[-T] [file] ...
flpq [[-hhost] [-qqueue]|[-Pprinter]] [-s] [-C] [-v] [-\?] [-E]
[users|jobs] ...
flpk [[-hhost] [-qqueue]|[-Pprinter]] [-llogin] [-V[V]] [-v] [-\?] [-E]
[users|jobs] ...
DESCRIPTION
Not all of the programs and not all of the parameters work between any
given pair of systems.
All three programs will display a description of their arguments when given
an argument of -?. [For csh, -\? is required.] Also, for each program as
shown above, as applicable: -C displays the copyright notice that applies
to both this documentation and these programs, -v displays the machine com-
piled on and the compilation date (flpr also prints host, queue, and login
id data reflecting all sources of this data), -V displays the lpr protocol
file to be used. The double -VV option adds a display of the protocol
exchange with the remote lpd daemon. -E displays expanded error messages
containing, for example, probable causes and suggested actions to correct.
-T changes the form of the temporary filenames used in the lpd protocol
exchange to the form used in earlier versions of flpr. The previous format
was incompatible with SUN lpd daemons; but allowed up to 333 temporary
files. The present format is compatible with both SUN lpd and TGV (DEC VAX
resident) lpd daemons; but only allows up to 51 temporary files. -h speci-
fies the host machine name. -q specifies the print queue name on the host
machine. -P specifies a printer nickname with associated host and queue
names. -l specifies a user name on the host machine.
flpr, the print program, can either print from stdin or from a list of
files, but not both stdin and a list of files. It uses disk space in
/usr/tmp for temporary storage of stdin data and for control files.
flpq, the query program, has the capacity to request either a long or short
form output and select by users or jobs. Some lpr daemons may not support
these capacities.
flpk, the print request cancel program, has the capacity to request the
cancellation of output optionally selected by users or jobs names. Some
lpr daemons may not support these capacities.
There are defaults file whose names can be determined by executing flpr
with the -v and -\? options that can contain default values for the host,
username, printer queue, protocol temporary filename format and one or more
associations between a `nickname' and a host and printer queue pair. These
optional whitespace, a tag, whitespace, a nickname, whitespace, a host
name, whitespace, a printer queue, optional whitespace and the end of the
line.
The tags are: host - the computer system where the target lpd is, queue - a
default printer queue on the 'host' computer system, printer - specifies a
relationship between, respectively, a printer nickname, an associated host
name and an associated queue name. user - a default login name on the
'host' computer system, this tag is only needed if the users login name on
the host system is different from the users login on the system the user is
currently logged into, files - the protocol temporary filename format (0
indicates TGV format, 1 indicates SUN format).
The effect of environment variables are system-wide if defined in
/etc/cshrc or /etc/profile. The effect can be individualized for a
specific user in their shell initialization files or by interactive input.
The following environmental variables may be used: FLPHOST - the computer
system where the target lpd is, FLPQUE - the printer queue on computer sys-
tem where the target lpd is, FLPPRINTER - the printer nickname that speci-
fies the computer system where the target lpd is and the printer queue (if
present FLPPRINTER overrides FLPHOST and FLPQUE), FLPUSER - a default login
name on the 'host' computer system, this tag is only needed if the users
login name on the host system is different from the users login on the sys-
tem the user is currently logged into, FLPFILES - protocol temporary
filename format, values similiar to those for the defaults file files line.
Option value meanings are:
classname banner page line item
file name of file to be printed
fullname banner page line item, intended to be user's full name
host name, IP numeric address or IP dotted numeric address of
machine to receive material to be printed (numeric may be C
decimal, octal or hexadecimal integers.)
indent columns to indent printing
jobname banner page line item
jobs print jobs in queue
login login name to attribute print request to
notify login name to send mail to notify of completion
queue print queue to assign material to
users login name of attributed user concerned
and for flpr, only the -h, -l, and -q options are known to work. This
package was written to be a complete implementation of the BSD lpd/lpr pro-
tocol as a result options are available in the package that are not sup-
ported on the VAX VMS host.