| Summary: | cups doesn't print to USB printer | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Horst H. von Brand <vonbrand> | ||||||
| Component: | gutenprint | Assignee: | Tim Waugh <twaugh> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | jpopelka, twaugh | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-05-17 14:30:50 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Horst H. von Brand
2011-02-21 14:12:54 UTC
Presumably that's using gutenprint? Support for this model was added in 5.2.1. Troubleshooting output would still be useful. https://fedoraproject.org/wiki/How_to_debug_printing_problems Created attachment 480612 [details] error_log for the printer The printer is not the default, it is called Stylus. At first I printed the test page, but hadn't connected the printer (doh), an error window reminded me. On connection, the messages said the printout was complete. I tried twice more. No reaction from the printer, no printout, but "completed normally". After turning off logging I tried to print a PDF just for kicks, same result. # grep '^*NickName:' /etc/cups/ppd/Stylus.ppd *NickName: "Epson Stylus Color Series" gutenprint was _not_ installed, now it is. No change there. Neither was foomatic (?). I installed that, None of the drivers there I tried worked. I finally got the recommended http://www.openprinting.org/driver/epson-escpr, configured that one. Now it prints fine. Thanks, and sorry for all the noise. gutenprint-5.2.6-3.fc15.x86_64 foomatic-4.0.7-1.fc16.x86_64 This printer model is meant to be supported by gutenprint. Please run this command as root: lpinfo -l -v This will give me enough information to make it so that the gutenprint driver is automatically installed and configured when you plug in the printer. https://fedoraproject.org/wiki/Features/AutomaticPrintDriverInstallation http://cyberelk.net/tim/2010/04/01/printer-device-ids-wanted/ Sorry, I haven't got that printer handy just now. Yes, I find it unfortunate that it doesn't work "out of the box" (but I'm reasonably sure that the predecesor to this machine did work OOB with the printer, or after some mild coaxing at most). What I find strange is that on connecting the printer it automatically got a driver, I really don't know from where. I've got a netbook with a similar instalation, that also doesn't print (and which I haven't touched during this fracas), could a bit of forensics on that machine help? Should I uninstall the recommended driver package, gutenprint, foomatic before going forward? The package containing the right CUPS driver is 'gutenprint-cups'. The driver you had on the automatic queue was from CUPS's own small driver selection. Let's solve this issue first before looking at others (or, file another bug report about the other machine). No, no need to uninstall anything. Just the 'lpinfo -l -v' output. (In reply to comment #6) > The package containing the right CUPS driver is 'gutenprint-cups'. Not installed as part of gutenprint... will install that one right away. Other stuff will have to wait until I get a chance to be near the blasted printer ;-) Created attachment 480862 [details]
Output from "lpinfo -l -v" (printer attached on boot)
Correct URL for Print Head is git://git.fedorahosted.org/git/system-config-printer.git. Cloning right now...
Incidentally (rawhide) the percentage missing drivers went from 38.7 to 30.6:
$ lpinfo -l -m |grep 'device-id = ' | wc -l
9468
$ lpinfo -l -m |grep 'device-id = $' | wc -l
2899
Also:
$ su -c ./check-device-ids.py
Password:
If you have not already done so, you may get more results
by temporarily disabling your firewall (or by allowing
incoming UDP packets on port 161).
Examining connected devices
Installing relevant drivers using system service
Ignoring exception: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
Fetching driver list
Traceback (most recent call last):
File "./check-device-ids.py", line 154, in <module>
ppds = PPDs (c.getPPDs ())
File "/home/vonbrand/tmp/system-config-printer/cupshelpers/ppds.py", line 343, in __init__
import config
ImportError: No module named config
Works fine now (Epson Stylus CX7700 - CUPS + Gutenprint v5.2.6 [en])
# /usr/share/system-config-printer/check-device-ids.py
If you have not already done so, you may get more results
by temporarily disabling your firewall (or by allowing
incoming UDP packets on port 161).
Examining connected devices
Installing relevant drivers using system service
Ignoring exception: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files
Fetching driver list
├── EPSON Stylus CX7700 (usb): MFG:EPSON;MDL:Stylus CX7700;CMD:ESCPL2,BDC,D4,ESCPR1;
│ ├── gutenprint.5.2://escp2-cx7700/simple [/usr/lib/cups/driver/gutenprint.5.2]
│ └── gutenprint.5.2://escp2-cx7700/expert [/usr/lib/cups/driver/gutenprint.5.2]
│ MISSING lsb/usr/epson-inkjet-printer-escpr/Epson/Epson-Stylus_CX7700-epson-inkjet-printer-escpr.ppd.gz [/usr/share/ppd/epson-inkjet-printer-escpr/Epson/Epson-Stylus_CX7700-epson-inkjet-printer-escpr.ppd.gz]
└── Virtual PDF Printer (cups-pdf): MFG:Generic;MDL:CUPS-PDF Printer;CMD:POSTSCRIPT;
└── CUPS-PDF.ppd [/usr/share/cups/model/CUPS-PDF.ppd]
Thanks!
Oh. I wonder how come the gutenprint-cups package was not installed when you plugged in the printer then? Installing relevant drivers using system service Ignoring exception: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service file If you uninstall gutenpirnt-cups and run this command as root, what does it say? dbus-send --system --print-reply \ --dest=com.redhat.PrinterDriversInstaller \ /com/redhat/PrinterDriversInstaller \ com.redhat.PrinterDriversInstaller.InstallDrivers \ string:EPSON string:'Stylus CX7700' string:'' I get a confirmation dialog for installing gutenprint-cups on Fedora 14. Out of interest, how did the print quality of the escpr driver compare with gutenprint-cups? I wonder if it's worth trying to get that packaged for Fedora. (In reply to comment #11) > Oh. I wonder how come the gutenprint-cups package was not installed when you > plugged in the printer then? > > Installing relevant drivers using system service > Ignoring exception: org.freedesktop.DBus.Error.ServiceUnknown: The name > org.freedesktop.PackageKit was not provided by any .service file > > If you uninstall gutenpirnt-cups and run this command as root, what does it > say? > > dbus-send --system --print-reply \ > --dest=com.redhat.PrinterDriversInstaller \ > /com/redhat/PrinterDriversInstaller \ > com.redhat.PrinterDriversInstaller.InstallDrivers \ > string:EPSON string:'Stylus CX7700' string:'' > > I get a confirmation dialog for installing gutenprint-cups on Fedora 14. # dbus-send --system --print-reply \ > --dest=com.redhat.PrinterDriversInstaller \ > /com/redhat/PrinterDriversInstaller \ > com.redhat.PrinterDriversInstaller.InstallDrivers \ > string:EPSON string:'Stylus CX7700' string:'' Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files # rpm -q PackageKit PackageKit-0.6.12-4.fc15.x86_64 "rpm -V PackageKit" is clean "rpm -Vf /etc/PackageKit/*" is also clean [This machine was installed way back, tracking rawhide; there might be flakiness somewhere here.] (In reply to comment #12) > Out of interest, how did the print quality of the escpr driver compare with > gutenprint-cups? I wonder if it's worth trying to get that packaged for > Fedora. Look quite similar, but I didn't look too closely. The escpr printer correctly centers the testpage on the paper; the one in g-c prints the black stripe on top almost at the paper edge, and on the bottom too near the edge; the sides are OK. (In reply to comment #11) > Oh. I wonder how come the gutenprint-cups package was not installed when you > plugged in the printer then? I've had problems with setting up the network on this machine (the WiFi is handled by an out-of-tree driver), so it might have been that when I first connected the printer there was no network. I seem to remember that it said it was searching for drivers and downloaded something, but that could have been another machine. Sorry for the Alzheimer's... OK, seems to be working now then. Thanks. |