Common UNIX Printing System Flashcards

1
Q

Default URL for local CUPS server:

A

http://localhost:631
Note: requires root to add/remove printers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

IPP

A

Internet Printing Protocol
Set as server default
POE generated by CUPS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

/etc/cups

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cupsd.conf

A

Configuration for server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

printers.conf

A

Config info for printers

DO NOT EDIT MANUALLY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CUPS

A

Provides line print daemon toolset

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

lpstat

A

Displays status of CUPS server and configured printers and queues.
-s: show printers configured.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

lpadmin

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

lpinfo

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

lpc

A

Older BSD-style command. Can be used to view info about installed printers.
status command shows status of all installed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

lpr

A

Send print job to default printer

-D: device (printer)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

lpq

A

Displays CUPS printer queue.

-a: all queues.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

lpstat

A

Identify job status

-l: list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

lprm

A

Removes print job from queue. Job ID needed. To remove all, pass - to cmd.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

cupsreject

A

Set all jobs to reject if specified printer used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

cupsdisable

A

Disable all printing for printer.