CUPS: Difference between revisions

From UMIACS
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Common Unix Print System
UMIACS has replaced our LPRng printing system on our UNIX systems in favor of the industry standard [http://www.cups.org CUPS] ('''Common Unix Print System'''). This provides us with better support for printers and their specific options.
 
UMIACS has replaced our LPRng printing system on our UNIX systems in favor of the industry standard [http://www.cups.org CUPS]. This provides us with better support for printers and their specific options.


Printing is only available from UMIACS Networks or when attached to the UMIACS VPN.
Printing is only available from UMIACS Networks or when attached to the UMIACS VPN.
Line 9: Line 7:
* '''lpstat -p'''
* '''lpstat -p'''


You can see documentation about printing from the command line on our RHEL/Ubuntu hosts at (available only on UMIACS Networks)
You can see documentation about printing from the command line on our [[RHEL]]/[[Ubuntu]] hosts at  
* http://print.umiacs.umd.edu/help/options.html.
* http://www.cups.org/doc/options.html
 
==Changes from the old LPRng print system==
===Duplexing===
To duplex you need to specify <code>-o sides=two-sided-long-edge</code> instead of <code>-Zduplex</code> when submitting your job.  <code>-o sides=two-sided-short-edge</code> can be used for the other duplex orientation.  You can specify defaults or create a personal instance of a print queue please see this [http://www.cups.org/documentation.php/doc-1.4/options.html#WITHOPTIONS documentation].
 
===Commands===
Using the '''lpr''' command is available, although the '''lp''' command is the main supported command and has more functionality.  We encourage you to use the '''lp''' (SysV) commands.
===Discrete Queues===
Since now the [[CUPS]] and [[WindowsPrinting]] systems are now discrete.  There can be jobs in the queue from the other print system that if they misbehave can cause the other print system queue to stall.  Please contact staff for assistance if you run into a problem.
===Banner Pages===
The queues are all no banner queues by default. If you would like to change this behavior for your account you can for each PRINTER_QUEUE by running


===Differences between our old LPRng print system===
  <code>lpoptions -o job-sheets=standard PRINTER_QUEUE</code>
# To duplex you need to specify <code>-o sides=two-sided-long-edge</code> instead of <code>-Zduplex</code> when submitting your job.  <code>-o sides=two-sided-short-edge</code> can be used for the other duplex orientation.  You can specify defaults or create a personal instance of a print queue please see this [http://print.umiacs.umd.edu/help/options.html#WITHOPTIONS documentation].
# Using the '''lpr''' command is available, although the '''lp''' command is the main supported command and has more functionality.  We encourage you to use the '''lp''' (SysV) commands.
# Since now the [[CUPS]] and [[WindowsPrinting]] systems are now discrete.  There can be jobs in the queue from the other print system that if they misbehave can cause the other print system queue to stall.  Please contact staff for assistance if you run into a problem.
# The queues are all no banner queues by default.  If you would like to change this behavior for your account you can for each PRINTER_QUEUE by running <code>lpoptions -o job-sheets=standard PRINTER_QUEUE</code>

Latest revision as of 13:39, 23 October 2024

UMIACS has replaced our LPRng printing system on our UNIX systems in favor of the industry standard CUPS (Common Unix Print System). This provides us with better support for printers and their specific options.

Printing is only available from UMIACS Networks or when attached to the UMIACS VPN.

A list of printers can be found using,

You can see documentation about printing from the command line on our RHEL/Ubuntu hosts at

Changes from the old LPRng print system

Duplexing

To duplex you need to specify -o sides=two-sided-long-edge instead of -Zduplex when submitting your job. -o sides=two-sided-short-edge can be used for the other duplex orientation. You can specify defaults or create a personal instance of a print queue please see this documentation.

Commands

Using the lpr command is available, although the lp command is the main supported command and has more functionality. We encourage you to use the lp (SysV) commands.

Discrete Queues

Since now the CUPS and WindowsPrinting systems are now discrete. There can be jobs in the queue from the other print system that if they misbehave can cause the other print system queue to stall. Please contact staff for assistance if you run into a problem.

The queues are all no banner queues by default. If you would like to change this behavior for your account you can for each PRINTER_QUEUE by running

  lpoptions -o job-sheets=standard PRINTER_QUEUE