You are not logged in.
Pages: 1
Hi,
I have an Epson WF-3520 printer that I am using from the network, on my Ubuntu machine (where Arch will soon replace Ubuntu). I am trying to use this printer from my Archlinux laptop too.
I installed the recommended packages as per the Archwiki's CUPS page, as well as cups-pdf (which works: I added the CUPS-PDF printer), foomatic-db, foomatic-db-engine, foomatic-db-nonfree, and gutenprint. I have then enabled org.cups.cupsd.socket and cups-browsed.service. And done what is said in "CUPS Administration".
Then, I have installed the epson-inkjet-printer-escpr AUR package. In Ubuntu, this package (the version provided by Epson) enabled the printer to be found and added.
But in Archlinux it doesn't work: When I open localhost:631 and click "Add Printer", the Epson printer does not appear in the list.
How can I investigate further?
Offline
Hi, mascip, dont' works because there're a bug or regression on the filters foomatic*:
https://bugs.archlinux.org/task/43708?p … &pagenum=3
I have a printer USB and i resolve the issue as follows:
Delete filters*.
$ sudo pacman -R foomatic-db foomatic-db-engine foomatic-db-nonfree gutenprintReinstall cups an the module to manage the printer.
$ sudo pacman -S cups
$ sudo pacman -S system-config-printer // Module to manage printers valid to gnome,cinnamon and others.Install the driver
Now install your epson-inkjet-printer-escpr driver. I think is( no sure):
https://aur.archlinux.org/packages/epso … r-201212w/
Start the service cups.
$ sudo systemctl start org.cups.cupsd.serviceNow try adding the printer trought the system-config-printer....If you have success, you can enable cups...
Enable cups and boot.
$ sudo systemctl enable org.cups.cupsd.serviceGood luck ...
Regards
Offline
I have tried the above without success.
I hadn't tried system-config-printer before. Until now I was just going to localhost:631/admin, clicking "Add Printer", and seeing that my printer is not listed there.
system-config-printer lets me try and find a printer on the network, either by "URI" or by "Host". I have tried without success to enter my printer's IP address: 192.168.0.23, as well as various URIs: lpd://192.168.0.23, http://192.168.0.23, https://192.168.0.23. socket://192.168.0.23.
Also, system-config-printer lets me see which drivers I have, which confirmed that I have the required drivers for my printer. I just need to find the printer now. I could not find how to do that.
Last edited by mascip (2015-02-25 12:27:47)
Offline
Are you running avahi-daemon on the laptop? Per the wiki, that is needed for cups-browsed.service to work. (From my review of the cups-browsed man page, I'm less convinced, but I use avahi, so I wouldn't know.)
Also (and only because I've done this so many times), you have shut down your firewall on the lappie?
Regards,
Offline
I have just installed avahi, and now started and enabled avahi-daemon, but it still doesn't work.
As a side note, the Archwiki CUPS doesn't make it clear that cups-browsed.service needs the avahi-daemon to run; and cups-browsed.service does run without avahi even being installed. So I'm not entirely sure. Where is the best place where to enquire, and then make the Wiki page more clear?
I don't think I have a firewall running: I haven't installed any.
What else could I do to try and make things work, or to investigate further?
Offline
What else could I do to try and make things work, or to investigate further?
The user PhotonX , resolve a similar issue:
https://bbs.archlinux.org/viewtopic.php?id=193650
Both problems solved:
1. The problem with crashing printer settings is solved by uninstalling either foomatic or gutenprint (in my case gutenprint), obviously too many available drivers made it crash. See also https://forum.manjaro.org/index.php?topic=19377.0
2. The problem with unsuccessful printing is this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1160913#c11 The solution (mentioned in comment #11 of this bug) is to set the client printer drivers to "Raw" (available in the driver list in the "Generic" category).
Cannot mark the thread as [Solved] because the title is at maximum length already. smile Thanks for your assistance!
Regards.
Offline
Thank you. I deleted all the driver packages but one (which I was able to check with system-config-printer), so that cannot be a problem anymore.
I have now looked at the CUPS logs:
$ cat /var/log/cups/error_log
[...]
E [26/Feb/2015:12:49:44 +0000] Unable to communicate with avahi-daemon: An unexpected D-Bus error occuredwhich happens every time after I reboot. If CUPS cannot communicate with avahi-daemon, that could explain why the printer is not found.
But the error is very vague: "An unexpected D-Bus error occured".
I have now installed d-feet, to try and understand what is happening with CUPS, DBus and avahi, but without success. There is a avahi System Bus in DBUS, which says "avahi-daemon: running". I don't know how to investigate the communication between CUPS and this daemon. The d-feet homepage is not very encouraging:
The current design was a quick one off that doesn't really fit any model other than showing off the internals of a D-Bus hierarchy. It is not optimised for actual debugging workflows.
Any ideas would be much appreciated.
Offline
Any ideas would be much appreciated.
Are you running avahi-daemon service ?
$ systemctl status avahi-daemon● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: disabled)
Active: active (running) since jue 2015-02-26 17:46:48 CET; 9min ago
Main PID: 495 (avahi-daemon)
Status: "avahi-daemon 0.6.31 starting up."
CGroup: /system.slice/avahi-daemon.service
├─495 avahi-daemon: running [phenom2.local]
└─496 avahi-daemon: chroot helperfeb 26 17:46:48 phenom2 avahi-daemon[495]: Joining mDNS multicast group on i....
feb 26 17:46:48 phenom2 avahi-daemon[495]: New relevant interface enp2s0.IPv....
feb 26 17:46:48 phenom2 avahi-daemon[495]: Network interface enumeration com....
feb 26 17:46:48 phenom2 avahi-daemon[495]: Registering new address record fo....
feb 26 17:46:48 phenom2 avahi-daemon[495]: Registering new address record fo....
feb 26 17:46:48 phenom2 avahi-daemon[495]: Registering HINFO record with val....
feb 26 17:46:49 phenom2 avahi-daemon[495]: Server startup complete. Host nam....
feb 26 17:46:50 phenom2 avahi-daemon[495]: Service "phenom2" (/services/udis....
feb 26 17:46:50 phenom2 avahi-daemon[495]: Service "phenom2" (/services/ssh.....
feb 26 17:46:50 phenom2 avahi-daemon[495]: Service "phenom2" (/services/sftp....
Hint: Some lines were ellipsized, use -l to show in full.
Regards.
Offline
$ systemctl status avahi-daemon
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2015-02-26 13:55:32 GMT; 3h 13min ago
Main PID: 279 (avahi-daemon)
Status: "avahi-daemon 0.6.31 starting up."
CGroup: /system.slice/avahi-daemon.service
├─279 avahi-daemon: running [mascip-toshiba.local]
└─285 avahi-daemon: chroot helper
Feb 26 13:56:55 mascip-toshiba avahi-daemon[279]: Registering new address record for 172.17.42.1 on docker0.IPv4.
Feb 26 16:29:17 mascip-toshiba avahi-daemon[279]: Withdrawing workstation service for wwp0s26u1u6i6.
Feb 26 16:29:19 mascip-toshiba avahi-daemon[279]: Withdrawing address record for 192.168.1.6 on wlp4s0.
Feb 26 16:29:19 mascip-toshiba avahi-daemon[279]: Leaving mDNS multicast group on interface wlp4s0.IPv4 with address 192.168.1.6.
Feb 26 16:29:19 mascip-toshiba avahi-daemon[279]: Interface wlp4s0.IPv4 no longer relevant for mDNS.
Feb 26 16:29:20 mascip-toshiba avahi-daemon[279]: Withdrawing address record for fe80::8a53:2eff:fe0a:d633 on wlp4s0.
Feb 26 16:29:25 mascip-toshiba avahi-daemon[279]: Registering new address record for fe80::8a53:2eff:fe0a:d633 on wlp4s0.*.
Feb 26 16:29:30 mascip-toshiba avahi-daemon[279]: Joining mDNS multicast group on interface wlp4s0.IPv4 with address 192.168.0.9.
Feb 26 16:29:30 mascip-toshiba avahi-daemon[279]: New relevant interface wlp4s0.IPv4 for mDNS.
Feb 26 16:29:30 mascip-toshiba avahi-daemon[279]: Registering new address record for 192.168.0.9 on wlp4s0.IPv4.Note: it doesn't say the same things as yours ("Server startup complete.")
Last edited by mascip (2015-02-26 17:10:44)
Offline
Pages: 1