Common UNIX Printing System Flashcards
Default URL for local CUPS server:
http://localhost:631
Note: requires root to add/remove printers.
IPP
Internet Printing Protocol
Set as server default
POE generated by CUPS.
/etc/cups
Directory containing config files for CUPS print server daemon & print settings. Preferable to use web interface for management.
Advanced settings: Remote logging & admin, Kerberos authorization.
cupsd.conf
Configuration for server
printers.conf
Config info for printers
DO NOT EDIT MANUALLY
CUPS
Provides line print daemon toolset
lpstat
Displays status of CUPS server and configured printers and queues.
-s: show printers configured.
lpadmin
Admin tool to add, modify, delete printers.
-E: enable printer to start accepting jobs
-L: indicate location
-m: specify driver. Everywhere to auto identify or driver location.
-p: following printer name to add
-v: connection info for server.
Ex: IP address via socket://192.168.0.8:9100
-x: remove printer
lpinfo
Displays available printer devices and drivers to be used
-v: list available connection types
—make-and-model: identify drivers with printer name “”
-m: identify PPD files which can be used. After name.
lpc
Older BSD-style command. Can be used to view info about installed printers.
status command shows status of all installed.
lpr
Send print job to default printer
-D: device (printer)
lpq
Displays CUPS printer queue.
-a: all queues.
lpstat
Identify job status
-l: list
lprm
Removes print job from queue. Job ID needed. To remove all, pass - to cmd.
cupsreject
Set all jobs to reject if specified printer used.