SUSE Support

Here When You Need Us

Slow CUPS printing performance

This document (3895431) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10

Situation

When printing using the Linux "lpr" command, there is a delay before the print job completes.


When printing from a workstation running Windows XP to a SLES 10 server running CUPS via SAMBA, there is a delay when enumerating printers (i.e. in order to select a different printer from within the "Print" menu of an application) before the lists of printers appears.

Resolution

In its default configuration, the cups-lpd process requests a list of all the printers per lpd-job. To change this, you need to modify the /etc/cups/cupsd.conf and add a "Limit" statement. The relevant access control is "CUPS-Get-Devices", which gets a list of available devices. Here is an example:

# Set the default printer/job policies...

# Getting a list of devices is limited to the owner or an adminstrator...

Require user @OWNER @SYSTEM
Order deny,allow


In this case, only the owner or an administrator would see the delay caused by enumerating the list of available printers.

After you modify the cupsd.conf, you will need to restart CUPS for the setting to take effect.

Additional Information

Documentation on the Policy directive: http://www.cups.org/documentation.php/ref-cupsd-conf.html#Policy

Documentation on the Limit section and CUPS-Get-Devices access control directive: http://www.cups.org/documentation.php/ref-cupsd-conf.html#LimitIPP

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3895431
  • Creation Date: 25-Mar-2008
  • Modified Date:14-Mar-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.