Provide more useful error message for printers without a PPD file. #2022

michaelrsweet opened this Issue Oct 11, 2006 · 9 comments


None yet
1 participant

michaelrsweet commented Oct 11, 2006

Version: -feature User: murdie

I updated from 1.2.3 to 1.2.4 on our Solaris print server yesterday morning, copying in the old cupsd.conf and printers.conf files and my set of PPD files before I started the new cupsd. Now all my printers give the error message "Error: Not Found" when I press "Set Printer Options" for any of them on my (restarted) web browser "Printers" page (as superuser).

A work-around is to "Modify Printer" and accept everything offered, but this is a pain for tens and tens of printers. (Ok, I suppose I could write a script using lpadmin(1) somehow.) Also, when "Modify Printer" offers me the "Set Printer Options" page, the settings have apparently reverted to the `factory default', which causes the further pain of having to reconfigure everything. However, such a reconfiguration does at least persist!

John A. Murdie


michaelrsweet commented Oct 11, 2006 User: mike

Please attach the PPD file you are using along with the error_log file showing an unsuccessful try from the web interface.



michaelrsweet commented Oct 12, 2006 User: murdie

There's no change to the error_log even with LogLevel set to debug2 (I've tried several times), and only the following appears in the access_log: - - [12/Oct/2006:10:33:24 +0000] "GET /printers/ HTTP/1.1" 200 0 - -
localhost - - [12/Oct/2006:10:33:24 +0000] "POST / HTTP/1.1" 200 138 CUPS-Get-Default successfu l-ok
localhost - - [12/Oct/2006:10:33:24 +0000] "POST / HTTP/1.1" 200 523 CUPS-Get-Printers successf ul-ok - - [12/Oct/2006:10:33:24 +0000] "GET /printers/ HTTP/1.1" 200 26108 - -

which doesn't seem to say very much!

I attach the PPD file of the printer I used in the test above - but this problem happens with all our printers. I'm slowly working through re-setting the printer options to what they were.

John A. Murdie


michaelrsweet commented Oct 12, 2006 User: mike

The PPD file looks fine.

Does the cupsd.conf have an ErrorLog line in it?

Can you attach your cupsd.conf file?



michaelrsweet commented Oct 13, 2006 User: murdie

Yes, there's an ErrorLog line - lots of informational traffic there, but no strange error messages as I said. cupsd.conf file attached.

I thought you said that you see this problem, too?

John A. Murdie


michaelrsweet commented Oct 16, 2006 User: mike

I was able to before, but now I can't. Can you try the current 1.3.x snapshot and let me know if you see the problem there?


michaelrsweet commented Nov 6, 2006 User: murdie

I should have closed this one down before now; I think I know what the problem was - I copied over a printers.conf file from an old CUPS installation into a new one (we don't update instantly, to give us a little time to try out a new version before switching all the users to it) without copying over the /etc/cups/ppd/* files.

Please can this STR be turned into an RFE? Instead of the unhelpful "Error: Not Found" message, please can we have (for instance):

Error: no PPD file found in /etc/cups/ppd for printer `p1' - set printer options once again to create it

John A. Murdie


michaelrsweet commented Nov 14, 2006 User: mike

I've re-assigned this as an RFE. We should be able to support setting of the banner and policy options, even without a PPD...


michaelrsweet commented Aug 24, 2007 User: mike

This actually got fixed in CUPS 1.3 and is a dupe of STR #2238.


michaelrsweet commented Aug 24, 2007


"$Id: 5454 2006-04-23 21:46:38Z mike $"

Sample configuration file for the Common UNIX Printing System (CUPS)

scheduler. See "man cupsd.conf" for a complete description of this


Log general information in error_log - change to "info" or "debug" for


LogLevel info

Administrator user group...

SystemGroup sys root


Listen 631
#Listen /spool/misc/cups-1.2.3/run/cups/cups.sock

Serve clients

BrowseAddress # Staff Linux desktops
BrowseAddress # Staff Windows desktops

Show shared printers on the local network.

Browsing On
BrowseOrder allow,deny
BrowseAllow @Local

Default authentication type, when authentication is required...

DefaultAuthType Basic

Restrict access to the server...

Order allow,deny Allow from all # temporary debug TBS

Restrict access to the admin pages...

<Location /admin>
AuthType Basic
Require user @System

Restrict access to configuration files...

<Location /admin/conf>
AuthType Basic
Require user @System

Set the default printer/job policies...

# Job-related operations must be done by the owner or an adminstrator... Require user @owner @System Order deny,allow

All administration operations require an adminstrator to authenticate...

AuthType Basic Require user @System Order deny,allow

Only the owner or an administrator can cancel or authenticate a job...

Require user @owner @System Order deny,allow Order deny,allow

End of "$Id: 5454 2006-04-23 21:46:38Z mike $".

@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment