Printing
Printing subsystem components
Spool directories
AIX: |
/var/spool/lpd/qdir and /var/spool/qdaemon |
FreeBSD: |
/var/spool/output/lpd/* |
HP-UX: |
/var/spool/lp/request/* |
Linux: |
/var/spool/lpd/* |
Solaris: |
/var/spool/lp/requests/* |
Configuration file(s)
AIX: |
/etc/qconfig |
FreeBSD: |
/etc/printcap |
HP-UX: |
/etc/lp/* |
Linux: |
/etc/printcap |
Solaris: |
/etc/lp/* and /etc/printers.conf |
Boot script configuration
FreeBSD: |
/etc/rc.conf: |
HP-UX: |
/etc/rc.config.d/lp: |
SuSE Linux: |
/etc/sysconfig/printer: |
The BSD and LPRng Spooling Subsystems
Used by FreeBSD and some Linux systems.
lpq |
|
lprm |
|
lpc |
|
Subcommands
status
printer
Display status of the line printer daemon and the specified print queue.
start
printer
Restart printing on the printer after an abort
or stop
command.
stop
printer
Stop all printing on printer after the current job has finished (new jobs are still accepted).
abort
printer
Stop all printing on printer immediately (new jobs are still accepted).
Get Essential System Administration Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.