Sun Microsystems Sun Workstation 100U System Manager's Manual page 202

Table of Contents

Advertisement

LPC(8)
MAINTENANCE COMMANDS
LPC(8)
NAME
Ipc - line printer control program
SYNOPSIS
/uar /ete/lpe [
command [ argument ... ) )
DESCRIPTION
Lpc
is used by the system administrator to control the operation or the line printer system. For
each line printer configured in /etc/printcap,
lpc
may be used to:
disable or enable a printer,
disable or enable a printer's spooling queue,
rearrange the order or jobs in a spooling queue,
find the status of printers, and their associated spooling queues and printer dameons.
Without any argument8,
lpc
will prompt for commands from the standard input. Ir arguments are
supplied, lpc interprets the first argument as a command and the remaining arguments as parame-
te" to the command. The standard input may be redirected so that
lpc
reads commands rrom a
fil~I'
Commands may be abreviated; the following is the list of recognized commands.
? , command ... )
h~'Jlr
I
command ... )
I
Print a short description of each command specified in the argument list, or, if no argu-
ments are given, a list of the recognized commands.
abort { all
I
prin ter ... }
Terminate an active spooling daemon on the local host immediately and then disable
printing (preventing new daemons from being started by lpr) for the specified printers.
clean { all
I
printer ... }
Remove all files beginning with "d",
"te",
or "dr" from the specified printer queue(s) on
the local machine.
enable { all
I
printer ... }
extt
quit
Enable spooling on the local queue ror the listed printers. This will allow lpr to put new
jobs in the spool queue.
Exit from lpc.
disable { all
I
printer ... }
Tum the specified printer queues off. This prevents new printer jobs trom being entered
into the queue by
lpr.
restart { all
I
prin ter ... }
Attempt to start a new printer daemon. This is useful when some abnormal condition
causes the daemon to die unexpectedly leaving jobs in the queue. L
pq
will report that
there is no daemon present when this condition occurs.
start { all
I
printer ... }
Enable printing and start a spooling daemon for the listed printers.
sta.*us ( all ) ( printer ... )
Display the status of daemons and queues on the local machine.
stc), { alii printer ... }
,
Stop a spooling daemon after the current job completes and disable printing.
Last change: 28 October 1983
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents