Installation guide

Table 10–3: lpc Command Arguments (cont.)
lpc Argument Description
stop
Stops a spooling daemon after the current job is
complete and disables printing.
topq
printer
Puts print jobs in the queue in the specified order. You
can specify the print jobs by also specifying a
request_ID
variable or a
username
variable.
up
Enables all printing and starts a new printer daemon.
Cancels the down argument.
The following example shows that the lpd daemon is active on the printer
named tester and there is one entry in the queue:
# /usr/sbin/lpc
lpc> status tester
tester:
printer is on device ’/dev/tty02’ speed 9600
queuing is enabled
printing is enabled
1 entry in spool area
lpc>
Refer to the lpc(8) reference page for more information.
10.7 Reference Information
This section contains information about the line printer daemon, lpd, and
the system files that are required for print system operations. These files
are created automatically if you use the lprsetup script, as described in
Section 10.5.2, or you can create and modify the files manually. Note that if
you create files manually, you will also need to manually change the
/etc/printcap file, so the changes can take effect.
10.7.1 Line Printer Daemon
Printers are controlled by the line printer daemon, lpd, which is located in
the /usr/lbin directory. Printing cannot take place unless the lpd
daemon is running. The lpd daemon has many functions:
Handles printer spooling, which is the mechanism by which a file is
placed in a queue until the printer can print the file.
Uses the listen and accept system calls to control printers and to
ensure that the user who requested printing is allowed to use the
printer.
Scans the /etc/printcap file to determine printer characteristics.
Administering the Print Services 10–19