Red Hat Bugzilla – Bug 152538
cups corrupts ppd file while copying it to /etc/cups/ppd/
Last modified: 2008-08-02 19:40:33 EDT
Description of problem:
If I place the pxl1010 PPD for the LaserJet 1012 into my /usr/share/cups/model/
directory, then restart CUPS and add my LaserJet 1012 to my list of printers via
printconf-gui, cups copies the PPD file to /etc/cups/ppd, but the PPD file gets
corrupted in the process, and the corruption causes my printer to print out
reams of blank pages and raw printer commands when I try to print a document.
If I subsequently copy the file over myself and restart cupsd, all is well, and
I can print using the PPD file perfectly.
Version-Release number of selected component (if applicable):
Latest cups from FC3+updates:
[myk@myk ~]$ rpm -qi cups
Name : cups Relocations: (not relocatable)
Version : 1.1.22 Vendor: Red Hat, Inc.
Release : 0.rc1.8.5 Build Date: Mon 07 Feb 2005 09:11:00
Latest version of the pxl1010 PPD file from linuxprinting.org:
How reproducible: Happens every time.
Steps to Reproduce: See description.
Actual results: Corrupted PPD; prints garbage
Expected results: Uncorrupted PPD; prints documents
Created attachment 112444 [details]
original, uncorrupted PPD
Created attachment 112445 [details]
Note that this reoccurs when you make changes to the printer's configuration, so
even if you fix the problem by manually copying over the file, it will get
re-corrupted the next time you change its configuration.
Note also the following message in the linuxprinting forums, in which another
user runs into the same problem:
Finally, I note that the version of cups on my Mac OS X 10.3.8 laptop does not
have this problem. I'm not sure what version of cups they're using, though;
cupsd doesn't have a -V switch to tell me, and I don't know how else to get it.
This is due to the way that our patched foomatic imports PPD files. (The
upstream foomatic cannot import PPD files at all..)
I expect you will find that you can use this PPD file correctly when you add it
from the http://localhost:631/ CUPS web interface.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.