.TH lpskip "" "" Command
.PC "Abort/restart current job on line printer"
\fBlpskip [\-r]\fR
.PP
.HS
.SH Option:
.IC \fB\-r\fR
Restart current job
.Pp
With no argument, terminate current job.
.HE
The command
.B lpskip
aborts or restarts the file being printed on the printer plugged into device
.BR /dev/lp .
By default, it aborts the job and prints a message on the user's terminal.
.PP
When invoked with the
.B -r
option,
.B lpskip
restarts the printing of the current job.
This is useful when a printing is spoiled due to, say, a paper jam.
.PP
.B lpskip
works only with files that have been spooled with the command
.BR lpr .
.SH Files
\fB/usr/lib/lpd\fR \(em Line printer daemon
.br
\fB/usr/spool/lpd\fR \(em Spool directory
.br
\fB/usr/spool/lpd/dpid\fR Daemon lockfile
.SH "See Also"
.Xr "commands," commands
.Xr "lpd," lpd
.Xr "lpr," lpr
.Xr "hpskip" hpskip
.SH Notes
To cancel jobs spooled with the command
.BR hpr ,
use the command
.BR hpskip .
To cancel or reprint jobs spooled with the command
.BR lp ,
use the commands
.B cancel
and
.BR reprint .
See the Lexicon entry
.B printer
for details.
