| Summary: | upgrading cups made my printer disappear | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Adam <richard.adam> |
| Component: | [OLD] Printing | Assignee: | Printing Team <printing> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | PPD file for my printer | ||
|
Description
Adam
2004-09-21 15:31:37 UTC
I also discovered that since I upgraded, there has been massive slowdown when trying to print, where before it printed within a couple seconds. Now it waits about a minute before printing, and seems to be using tons of memory since my computer became unresponsive. Any ideas about this? strange, what about cups-1.1.21, is this one fast? With cups-1.1.21, it seems to not be printing anything. But there's no slowdown either. I think what actually happened with the printer disappearing is I accidentally selected to replace my old configuration file with the new one when running etc-update. Since I hadn't modified the file by hand, it didn't occur to me that it would delete configuration to do so. Sorry about that. But I'm still not sure why printing isn't working. Maybe it was the "trivial changes" that etc-update made in a few configuration files? Here's my command line: root>etc-update Scanning Configuration files... Automerging trivial changes in: classes.conf Automerging trivial changes in: client.conf Automerging trivial changes in: cupsd.conf Automerging trivial changes in: mime.convs Automerging trivial changes in: mime.types The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. 1) /etc/cups/printers.conf /etc/cups/._cfg0000_printers.conf I discovered that my printer isn't printing because it's stopped (going through the HTML CUPS configuration), and when I started it it said it's started but then going back to the printer properties it says it's stopped. There's a message there too: "Unable to open USB device "usb://HP/DeskJet%20990C": No such device" But I'm sure I configured it normally. I reverted to cups-1.1.20-r1 and it started working again. Due to the error message I mentioned previously, could it be a problem with the way CUPS is writing the URL "usb://HP/DeskJet%20990C" - maybe the new version doesn't allow a %20 in the name? For now, I'll try to keep using version 1.1.20-r1 if portage will let me. can you please try cups-1.1.21 again and add the printer from scratch and see if it works? I had this problem in April already, and I just found that my printer has disappeared again, presumably due to the recent upgrade from cups-1.1.20-r4 to cups-1.1.20-r5. Created attachment 45443 [details]
PPD file for my printer
Sorry for the delay.
I tried upgrading to cups-1.1.22 and once again, my printer stopped when I tried to print, with the same message. When upgrading, I used dispatch-conf and selected to use all new configuration files (it didn't overwrite my printer configuration when doing this, probably because dispatch-conf is better than etc-update).
I deleted the printer and added it from scratch, then configured it. The same thing happened.
I noticed something that may well be related to this problem. Testing the PPD file in /etc/cups/ppd gave the following results:
root>cupstestppd HPDeskJet990C.ppd
HPDeskJet990C.ppd: FAIL
**FAIL** Unable to open PPD file - Missing asterisk in column 1 on line 58.
REF: Page 15, section 3.2.
I'm not sure where that PPD file originated; I think it's supposed to be when I add the printer through the browser-based interface. I remember a long time ago I downloaded a PPD for this printer, but I think that isn't necessary anymore and I don't think that file is still around. That PPD is the only one in the directory.
I reverted to cups-1.1.20-r5, and didn't touch the configuration (didn't add and delete the printer), and it started printing again relatively normally (there's a few seconds of the hard drive going each time, but not nearly as bad as at first). The PPD file still fails the check but it prints under 1.1.20-r5. please try cups-1.1.23_rc1 (just commiting it) or download a new PPD from linuxprinting.org Still doesn't work; just sits there with the job pending and the printer gets stopped. I then downloaded and replaced the new ppd from: http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_990C and it didn't make a difference (unless I have to restart the cups daemon?) The PPDs weren't identical but it seems the differences weren't related to the problem. Finally! I re-installed Gentoo and configured my printer from scratch and 1.1.23-r1 is working. So somehow a configuration file must have been incorrect. The question now is, did I screw it up or did cups screw it up? And what kind of configuration file would cause the computer to grind away prior to printing? By the way, the ppd file still fails the cupstestppd test. A thought: could pam have been the culprit? I just removed it, and apparently it was causing not a few problems... not sure, but I'm glade that it works now |