My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

Slow CUPS printing performance

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

Environment

Novell 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 NetIQ/Novell/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-08
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center