lpcover - emulate LP
lpstatc - emulate LPSTAT
cancel - emulate CANCEL
lpcover [ -options ] [ file ... ]
lpstatc [ -options ]
cancel jobnumber [ ... ]
lpcover may be used instead of the standard lp command. It
converts the options that most lp commands take to the equivalent
spr(1)
commandds and then invokes spr(1)
to submit the print jobs.
The spr program provides a much greater set of facilities than
lp. Although it is strongly recommended to switch to the spr(1)
command to take advantage of these, they can be made available to
users of our lpcover command. This is done by setting up
SPOOLOPTS
in the application or user environment.
Lpcover is usually installed in place of lp in /usr/bin, with the original binary moved to something like old.lp in the same directory.
Lpstatc emulates lpstat as far as is practicable, generating a report of outstanding print jobs from the print queue in a format similar to the original lpstat.
cancel is a shell script which invokes sqdel(1)
on its arguments.
The options below document lpcover only. Options to lpstatc generate a warning message on standard error and are otherwise ignored. Options to lpcover which are not documented here are ignored.
This has no effect, but generates a warning message on standard error, as with GNUspool spool files are always copied.
Specify printer destination as name. The destination may also be
specified in the environment variable LPDEST
, which this option
overrides. An argument of any
to -d cancels any existing
LPDEST
environment variable.
This is translated directly into a -P option to spr.
specifies the supplied form type. This is translated directly into an -f option to spr.
There is no direct mapping for the -H argument.
Mail user. This is translated directly into an -m option to spr.
Specify the number of copies. This is translated directly into a -c option to spr.
Only -o nobanner
, to suppress the header page, is interpreted
and translated to the -s option to spr.
This is translated into -R page range arguments for spr.
This is translated into a -p argument for spr scaled appropriately, taking into account the user's maximum, minimum and default priorities.
This option is ignored.
This turns off the -v argument for spr which is normally included.
This option is ignored.
This is translated to a -h (title) argument to spr.
This is translated directly to the -w (write message) option to spr.
This option is ignored.
Specify destination for lpcover.
Specify alternate format for lpstatc.
Various warnings about unimplemented features are printed by lpcover and lpstatc.
Others may be generated by software each invokes.
John M Collins, Xi Software Ltd.