Defindit Docs and Howto Home

This page last modified: Jun 30 2004
description:Hints and configuration for CUPS
title:Common Unix Printing System notes

- check your local .cupsrc

- The server has to be browseable for lpstat and lpstat.cups to work

- Connection refused could mean that you are connecting to the wrong server.

- The -h arg to lpstat does NOT override .cupsrc

- It is best to avoid lp and lpr and just use kprinter

- If your non-root printing manager can't contact a running cups server,
then it is probably an access list problem.

Working config with comments removed. Created by cupsdconf.

Classification none
DefaultCharset UTF-8
DefaultLanguage en
Printcap /etc/printcap
PrintcapFormat BSD
RemoteRoot remroot
SystemGroup sys
ServerCertificate /etc/cups/ssl/server.crt
ServerKey /etc/cups/ssl/server.key
<Location />
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From
<Location /admin>
Encryption IfRequested
Satisfy All
Order allow,deny
HostnameLookups Off
KeepAlive On
KeepAliveTimeout 60
MaxClients 100
MaxRequestSize 0m
Timeout 300
Listen *:631
AccessLog /var/log/cups/access_log
ErrorLog /var/log/cups/error_log
PageLog /var/log/cups/page_log
MaxLogSize 0m
LogLevel info
PreserveJobHistory On
PreserveJobFiles Off
AutoPurgeJobs No
MaxJobs 0
MaxJobsPerPrinter 0
MaxJobsPerUser 0
User lp
Group sys
RIPCache 8m
FilterLimit 0
DataDir /usr/share/cups
DocumentRoot /usr/share/cups/doc
RequestRoot /var/spool/cups
ServerBin /usr/lib/cups
ServerRoot /etc/cups
TempDir /var/spool/cups/tmp
Browsing On
BrowseProtocols CUPS 
BrowsePort 631
BrowseInterval 30
BrowseTimeout 300
BrowseAllow From
BrowseOrder allow,deny
ImplicitClasses On
ImplicitAnyClasses Off
HideImplicitMembers Yes
BrowseShortNames Yes